summaryrefslogtreecommitdiffstats
path: root/patches/glibc-2.8/generic/glibc-configure-old-gcc.patch
blob: 3de48280d9a84399422f07da5e9c0a0380e18738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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