]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - config/acx.m4
config: Sync with GCC
[thirdparty/binutils-gdb.git] / config / acx.m4
index aa1d34b2b4962abe22cddd6b65ff05446056986f..87c1b5e29322142b35e791d1e3ad4495ecf6ef53 100644 (file)
@@ -246,7 +246,7 @@ AC_DEFUN([GCC_BASE_VER],
   [AS_HELP_STRING([--with-gcc-major-version-only], [use only GCC major number in filesystem paths])],
   [if test x$with_gcc_major_version_only = xyes ; then
     changequote(,)dnl
-    get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
+    get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
     changequote([,])dnl
   fi
   ])