mirror of https://github.com/python/cpython
Revert r82259; still no good way to override instead of replace OPT, but changing order alters pydebug optimization flags.
This commit is contained in:
parent
d19052c161
commit
c1c7cf682a
|
@ -59,7 +59,7 @@ MAKESETUP= $(srcdir)/Modules/makesetup
|
||||||
# Compiler options
|
# Compiler options
|
||||||
OPT= @OPT@
|
OPT= @OPT@
|
||||||
BASECFLAGS= @BASECFLAGS@
|
BASECFLAGS= @BASECFLAGS@
|
||||||
CFLAGS= $(BASECFLAGS) $(OPT) @CFLAGS@ $(EXTRA_CFLAGS)
|
CFLAGS= $(BASECFLAGS) @CFLAGS@ $(OPT) $(EXTRA_CFLAGS)
|
||||||
# Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to
|
# Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to
|
||||||
# be able to build extension modules using the directories specified in the
|
# be able to build extension modules using the directories specified in the
|
||||||
# environment variables
|
# environment variables
|
||||||
|
|
|
@ -1463,8 +1463,6 @@ Extension Modules
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
- Have CFLAGS come after OPT to allow for overriding warnings flags.
|
|
||||||
|
|
||||||
- Issue #8854: Fix finding Visual Studio 2008 on Windows x64.
|
- Issue #8854: Fix finding Visual Studio 2008 on Windows x64.
|
||||||
|
|
||||||
- Issue #1759169, #8864: Drop _XOPEN_SOURCE on Solaris, define it for
|
- Issue #1759169, #8864: Drop _XOPEN_SOURCE on Solaris, define it for
|
||||||
|
|
Loading…
Reference in New Issue