summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS4
-rwxr-xr-xconfigure5
-rw-r--r--configure.in3
3 files changed, 9 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ccb7baa..47f8df1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 2.6 alpha 2?
Core and builtins
-----------------
+- Issue #1779871: Gnu gcc can now build Python on OS X because the
+ flags -Wno-long-double, -no-cpp-precomp, and -mno-fused-madd are no
+ longer passed.
+
- Add a warning when asserting a non-empty tuple which is always true.
- Issue #2179: speed up with statement execution by storing the exit method
diff --git a/configure b/configure
index d634f6f..c7f6058 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 60765 .
+# From configure.in Revision: 61234 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 2.6.
#
@@ -4538,7 +4538,8 @@ echo "${ECHO_T}$ac_cv_no_strict_aliasing_ok" >&6; }
;;
# is there any other compiler on Darwin besides gcc?
Darwin*)
- BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd"
+ # -Wno-long-double, -no-cpp-precomp, and -mno-fused-madd
+ # used to be here, but non-Apple gcc doesn't accept them.
if test "${enable_universalsdk}"; then
BASECFLAGS="-arch ppc -arch i386 -isysroot ${UNIVERSALSDK} ${BASECFLAGS}"
fi
diff --git a/configure.in b/configure.in
index e731825..767766c 100644
--- a/configure.in
+++ b/configure.in
@@ -823,7 +823,8 @@ yes)
;;
# is there any other compiler on Darwin besides gcc?
Darwin*)
- BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd"
+ # -Wno-long-double, -no-cpp-precomp, and -mno-fused-madd
+ # used to be here, but non-Apple gcc doesn't accept them.
if test "${enable_universalsdk}"; then
BASECFLAGS="-arch ppc -arch i386 -isysroot ${UNIVERSALSDK} ${BASECFLAGS}"
fi