diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-06-02 06:16:02 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-06-02 06:16:02 (GMT) |
commit | 89e90d67aa73163b368f0dc42ed78310bda00ac5 (patch) | |
tree | bb7ad7331037051274914dabd6d4231ff396f8f2 /Misc | |
parent | f4b33f61fb83f54d3086ef28c34e71a18ade2b9d (diff) | |
download | cpython-89e90d67aa73163b368f0dc42ed78310bda00ac5.zip cpython-89e90d67aa73163b368f0dc42ed78310bda00ac5.tar.gz cpython-89e90d67aa73163b368f0dc42ed78310bda00ac5.tar.bz2 |
Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessor
directives, which is the role of CPPFLAGS. Closes SF patch #414991.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/Makefile.pre.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Misc/Makefile.pre.in b/Misc/Makefile.pre.in index 2d14294..01b4901 100644 --- a/Misc/Makefile.pre.in +++ b/Misc/Makefile.pre.in @@ -95,7 +95,8 @@ TARGET= python PYTHON= python # Add more -I and -D options here -CFLAGS= $(OPT) -I$(INCLUDEPY) -I$(EXECINCLUDEPY) $(DEFS) +CFLAGS= $(OPT) +CPPFLAGS= -I$(INCLUDEPY) -I$(EXECINCLUDEPY) $(DEFS) # These two variables can be set in Setup to merge extensions. # See example[23]. @@ -228,7 +229,7 @@ do-it-again: # Make config.o from the config.c created by makesetup config.o: config.c - $(CC) $(CFLAGS) -c config.c + $(CC) $(CFLAGS) $(CPPFLAGS) -c config.c # Setup is copied from Setup.in *only* if it doesn't yet exist Setup: |