diff options
author | Brett Cannon <bcannon@gmail.com> | 2005-04-24 22:26:38 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2005-04-24 22:26:38 (GMT) |
commit | 08cd598c2145d00f1517c93cabf80a5d7d2a4bc0 (patch) | |
tree | ff364e13d14455f5850f7af139bd721a1c371ddd /Misc | |
parent | 43148c84136697b56cdd9327a64ac3225fe48651 (diff) | |
download | cpython-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/NEWS | 5 | ||||
-rw-r--r-- | Misc/SpecialBuilds.txt | 5 |
2 files changed, 7 insertions, 3 deletions
@@ -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 |