summaryrefslogtreecommitdiffstats
path: root/patches/glibc-2.8/generic/glibc-configure-old-gcc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/glibc-2.8/generic/glibc-configure-old-gcc.patch')
-rw-r--r--patches/glibc-2.8/generic/glibc-configure-old-gcc.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/patches/glibc-2.8/generic/glibc-configure-old-gcc.patch b/patches/glibc-2.8/generic/glibc-configure-old-gcc.patch
new file mode 100644
index 0000000..3de4828
--- /dev/null
+++ b/patches/glibc-2.8/generic/glibc-configure-old-gcc.patch
@@ -0,0 +1,17 @@
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: glibc-2.8-20080811/configure
+===================================================================
+--- glibc-2.8-20080811.orig/configure
++++ glibc-2.8-20080811/configure
+@@ -4719,7 +4719,7 @@ echo $ECHO_N "checking version of $CC...
+ { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
+ echo "${ECHO_T}$ac_prog_version" >&6; }
+ fi
+-if test $ac_verc_fail = yes; then
++if test $ac_verc_fail = yes -a -z "$enable_hacker_mode"; then
+ critic_missing="$critic_missing gcc"
+ fi
+