summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'Misc')
-rw-r--r--Misc/Makefile.pre.in5
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: