diff options
author | Ned Deily <nad@acm.org> | 2013-10-25 07:46:02 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2013-10-25 07:46:02 (GMT) |
commit | 4b7a02314933c4e96a194e4aba063cd8f89bc132 (patch) | |
tree | 8d720585020ab8ca8f364fef369aba0a8ed0eeb2 /Mac | |
parent | 5b3582c919c7bb023d2e8d38d25d65bcc5125131 (diff) | |
download | cpython-4b7a02314933c4e96a194e4aba063cd8f89bc132.zip cpython-4b7a02314933c4e96a194e4aba063cd8f89bc132.tar.gz cpython-4b7a02314933c4e96a194e4aba063cd8f89bc132.tar.bz2 |
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.
Diffstat (limited to 'Mac')
-rwxr-xr-x | Mac/BuildScript/build-installer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index de1a980..3e728e0 100755 --- 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"%( + "CFLAGS='-g -I%s/libraries/usr/local/include' 2>&1"%( shellQuote(os.path.join(SRCDIR, 'configure')), shellQuote(SDKPATH), UNIVERSALARCHS, (' ', '--with-computed-gotos ')[PYTHON_3], |