[Python-checkins] python/dist/src/Misc SpecialBuilds.txt, 1.19, 1.20 NEWS, 1.1287, 1.1288

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Mon Apr 25 00:26:59 CEST 2005

Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25974/Misc

Modified Files:
	SpecialBuilds.txt NEWS 
Log Message:
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.

Index: SpecialBuilds.txt
RCS file: /cvsroot/python/python/dist/src/Misc/SpecialBuilds.txt,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- SpecialBuilds.txt	20 Apr 2005 20:49:39 -0000	1.19
+++ SpecialBuilds.txt	24 Apr 2005 22:26:38 -0000	1.20
@@ -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

Index: NEWS
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1287
retrieving revision 1.1288
diff -u -d -r1.1287 -r1.1288
--- NEWS	21 Apr 2005 21:32:00 -0000	1.1287
+++ NEWS	24 Apr 2005 22:26:38 -0000	1.1288
@@ -276,6 +276,11 @@
+- 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.

More information about the Python-checkins mailing list