]> granicus.if.org Git - python/commitdiff
Add a -Wno-long-double flag to the compile flags on Mac OS X. Fixes bug
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 12 Mar 2002 15:25:52 +0000 (15:25 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 12 Mar 2002 15:25:52 +0000 (15:25 +0000)
525481. (Probably not a 2.2.1 candidate, unless the fix that introduced a
long double into objimpl.h (rev. 2.44) is backported to 2.2.1).

configure
configure.in

index 11ce202d5c8b4178956adb9d41284b29faf3bc21..acf4598f948aca16adf7b02eb1be2a0dde5bdd12 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# From configure.in Revision: 1.293 
+# From configure.in Revision: 1.295 
 
 # Guess values for system-dependent variables and create Makefiles.
 # Generated automatically using autoconf version 2.13 
@@ -1428,7 +1428,7 @@ then
         fi
        case $ac_sys_system in
        AIX*)
-          LINKCC="\$(srcdir)/Modules/makexp_aix Modules/python.exp \"\" \$(LIBRARY); $(LINKCC)";;
+          LINKCC="\$(srcdir)/Modules/makexp_aix Modules/python.exp \"\" \$(LIBRARY); $LINKCC";;
        dgux*)
           LINKCC="LD_RUN_PATH=$libdir $(LINKCC)";;
        Monterey64*)
@@ -1689,7 +1689,7 @@ then
     esac
     case $ac_sys_system in
     Darwin*)
-       OPT="$OPT -no-cpp-precomp";;
+       OPT="$OPT -Wno-long-double -no-cpp-precomp";;
     esac
 fi
 
index 56e3faeb3a23ad5601bc2db8639642b84a600801..3bdb66743451103985f8932b7e38a84cd8036a10 100644 (file)
@@ -398,7 +398,7 @@ then
     esac
     case $ac_sys_system in
     Darwin*)
-       OPT="$OPT -no-cpp-precomp";;
+       OPT="$OPT -Wno-long-double -no-cpp-precomp";;
     esac
 fi