Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c1c7cf6

Browse files
committed
Revert r82259; still no good way to override instead of replace OPT, but changing order alters pydebug optimization flags.
1 parent d19052c commit c1c7cf6

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ MAKESETUP= $(srcdir)/Modules/makesetup
5959
# Compiler options
6060
OPT= @OPT@
6161
BASECFLAGS= @BASECFLAGS@
62-
CFLAGS= $(BASECFLAGS) $(OPT) @CFLAGS@ $(EXTRA_CFLAGS)
62+
CFLAGS= $(BASECFLAGS) @CFLAGS@ $(OPT) $(EXTRA_CFLAGS)
6363
# Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to
6464
# be able to build extension modules using the directories specified in the
6565
# environment variables

Misc/NEWS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,8 +1463,6 @@ Extension Modules
14631463
Build
14641464
-----
14651465

1466-
- Have CFLAGS come after OPT to allow for overriding warnings flags.
1467-
14681466
- Issue #8854: Fix finding Visual Studio 2008 on Windows x64.
14691467

14701468
- Issue #1759169, #8864: Drop _XOPEN_SOURCE on Solaris, define it for

0 commit comments

Comments
 (0)