crosstool-ng/patches/glibc/2.2.2/glibc-2.2.2-allow-gcc-3-configure.patch

22 lines
949 B
Diff
Raw Normal View History

Works around version check:
checking for i686-unknown-linux-gnu-gcc... gcc
checking version of gcc... 3.4.2, bad
...
configure: error:
*** Some critical program is missing or too old.
*** Check the INSTALL file for required versions.
--- glibc-2.2.2/configure.old 2005-04-10 16:57:42.692071968 -0700
+++ glibc-2.2.2/configure 2005-04-10 16:58:52.993384544 -0700
@@ -1437,7 +1437,7 @@
ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- *gcc-2.9[5-9].*|*2.8.[1-9]*|*2.9|*2.9.[0-9]*|2.9[5-9]*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9]|sgicc-*)
+ *gcc-2.9[5-9].*|*3.[234].*|*2.8.[1-9]*|*2.9|*2.9.[0-9]*|2.9[5-9]*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9]|sgicc-*)
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;