cpython: 323f1dcceb73 (original) (raw)
Mercurial > cpython
changeset 86613:323f1dcceb73 2.7
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. [#19019]
Ned Deily nad@acm.org | |
---|---|
date | Fri, 25 Oct 2013 00:44:46 -0700 |
parents | 19b512bfc8d2 |
children | 8cdcfd73d472 |
files | Mac/BuildScript/build-installer.py Misc/NEWS |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-)[+] [-] Mac/BuildScript/build-installer.py 2 Misc/NEWS 5 |
line wrap: on
line diff
--- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -952,7 +952,7 @@ def buildPython(): "--with-universal-archs=%s " "%s " "LDFLAGS='-g -L%s/libraries/usr/local/lib' "
"OPT='-g -O3 -I%s/libraries/usr/local/include' 2>&1"%([](#l1.7)
"CFLAGS='-g -I%s/libraries/usr/local/include' 2>&1"%([](#l1.8) shellQuote(os.path.join(SRCDIR, 'configure')), shellQuote(SDKPATH),[](#l1.9) UNIVERSALARCHS,[](#l1.10) (' ', '--with-computed-gotos ')[PYTHON_3],[](#l1.11)
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -289,6 +289,11 @@ Build 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