summaryrefslogtreecommitdiffstats
path: root/Modules/makesetup
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-06-02 06:16:02 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-06-02 06:16:02 (GMT)
commit89e90d67aa73163b368f0dc42ed78310bda00ac5 (patch)
treebb7ad7331037051274914dabd6d4231ff396f8f2 /Modules/makesetup
parentf4b33f61fb83f54d3086ef28c34e71a18ade2b9d (diff)
downloadcpython-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 'Modules/makesetup')
-rwxr-xr-xModules/makesetup2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/makesetup b/Modules/makesetup
index 8fd6d5e..f4287a5 100755
--- a/Modules/makesetup
+++ b/Modules/makesetup
@@ -216,7 +216,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
*) src='$(srcdir)/'"$srcdir/$src";;
esac
case $doconfig in
- no) cc="$cc \$(CCSHARED) \$(CFLAGS)";;
+ no) cc="$cc \$(CCSHARED) \$(CFLAGS) \$(CPPFLAGS)";;
*)
cc="$cc \$(PY_CFLAGS)";;
esac