[Python-checkins] cpython (3.3): Issue #19019: Change the OS X installer build script to use CFLAGS instead
ned.deily
python-checkins at python.org
Fri Oct 25 09:53:54 CEST 2013
http://hg.python.org/cpython/rev/689b5c2d6959
changeset: 86617:689b5c2d6959
branch: 3.3
user: Ned Deily <nad at acm.org>
date: Fri Oct 25 00:46:02 2013 -0700
summary:
Issue #19019: Change the OS X installer build script to use CFLAGS instead
of OPT for special build options. By setting OPT, some compiler-specific
options like -fwrapv were overridden and thus not used, which could result
in broken interpreters when building with clang.
files:
Mac/BuildScript/build-installer.py | 2 +-
Misc/NEWS | 5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -952,7 +952,7 @@
"--with-universal-archs=%s "
"%s "
"LDFLAGS='-g -L%s/libraries/usr/local/lib' "
- "OPT='-g -O3 -I%s/libraries/usr/local/include' 2>&1"%(
+ "CFLAGS='-g -I%s/libraries/usr/local/include' 2>&1"%(
shellQuote(os.path.join(SRCDIR, 'configure')), shellQuote(SDKPATH),
UNIVERSALARCHS,
(' ', '--with-computed-gotos ')[PYTHON_3],
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -601,6 +601,11 @@
problems in the Apple-supplied Tcl/Tk 8.5 shipped in OS X 10.6
and later releases.
+- Issue #19019: Change the OS X installer build script to use CFLAGS instead
+ of OPT for special build options. By setting OPT, some compiler-specific
+ options like -fwrapv were overridden and thus not used, which could result
+ in broken interpreters when building with clang.
+
What's New in Python 3.3.2?
===========================
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list