summaryrefslogtreecommitdiffstats
path: root/Misc
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 /Misc
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 'Misc')
-rw-r--r--Misc/NEWS5
-rw-r--r--Misc/SpecialBuilds.txt5
2 files changed, 7 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 23f760b..1557a46 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -276,6 +276,11 @@ Library
Build
-----
+- EXTRA_CFLAGS has been introduced as an environment variable to hold compiler
+ flags that change binary compatibility. Changes were also made to
+ distutils.sysconfig to also use the environment variable when used during
+ compilation of the interpreter.
+
- SF patch 1171735: Darwin 8's headers are anal about POSIX compliance,
and linking has changed (prebinding is now deprecated, and libcc_dynamic
no longer exists). This configure patch makes things right.
diff --git a/Misc/SpecialBuilds.txt b/Misc/SpecialBuilds.txt
index feff20e..8111476 100644
--- a/Misc/SpecialBuilds.txt
+++ b/Misc/SpecialBuilds.txt
@@ -1,9 +1,8 @@
This file describes some special Python build types enabled via
compile-time preprocessor defines.
-It is best to define these options in the OPT environment variable;
-``OPT="-DPy_REF_DEBUG" ./configure``. If you want the default values of
-OPT to also be included you will need to add them in yourself manually.
+It is best to define these options in the EXTRA_FLAGS environment variable;
+``EXTRA_CFLAGS="-DPy_REF_DEBUG" ./configure``.
---------------------------------------------------------------------------
Py_REF_DEBUG introduced in 1.4