summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/ports/lang/python25/files/patch-fwrapv.diff
blob: 130a3ad5d9ef0ad8e0e0a67d2a4d35d36aa088ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- configure.orig	2011-11-22 09:08:58.000000000 +1100
+++ configure	2011-11-22 09:10:56.000000000 +1100
@@ -4428,9 +4428,7 @@
 	    STRICT_PROTO="-Wstrict-prototypes"
 	fi
         # For gcc 4.x we need to use -fwrapv so lets check if its supported
-        if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then
            WRAP="-fwrapv"
-        fi
 	case $ac_cv_prog_cc_g in
 	yes)
 	    if test "$Py_DEBUG" = 'true' ; then