summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2005-04-24 22:26:38 (GMT)
committerBrett Cannon <bcannon@gmail.com>2005-04-24 22:26:38 (GMT)
commit08cd598c2145d00f1517c93cabf80a5d7d2a4bc0 (patch)
treeff364e13d14455f5850f7af139bd721a1c371ddd /Makefile.pre.in
parent43148c84136697b56cdd9327a64ac3225fe48651 (diff)
downloadcpython-08cd598c2145d00f1517c93cabf80a5d7d2a4bc0.zip
cpython-08cd598c2145d00f1517c93cabf80a5d7d2a4bc0.tar.gz
cpython-08cd598c2145d00f1517c93cabf80a5d7d2a4bc0.tar.bz2
Introduced EXTRA_CFLAGS as an environment variable used by the Makefile. Meant
to be used for flags that change binary compatibility. Distutils was tweaked to also use the variable if used during compilation of the interpreter.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index e4d9008..7b440f3 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -55,7 +55,7 @@ MAKESETUP= $(srcdir)/Modules/makesetup
# Compiler options
OPT= @OPT@
BASECFLAGS= @BASECFLAGS@
-CFLAGS= $(BASECFLAGS) $(OPT)
+CFLAGS= $(BASECFLAGS) $(OPT) $(EXTRA_CFLAGS)
# 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
# environment variables