[Python-checkins] python/dist/src Makefile.pre.in, 1.151, 1.152 README, 1.187, 1.188

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Mon Apr 25 00:27:10 CEST 2005


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

Modified Files:
	Makefile.pre.in README 
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: Makefile.pre.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/Makefile.pre.in,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- Makefile.pre.in	28 Mar 2005 23:23:46 -0000	1.151
+++ Makefile.pre.in	24 Apr 2005 22:26:37 -0000	1.152
@@ -55,7 +55,7 @@
 # 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

Index: README
===================================================================
RCS file: /cvsroot/python/python/dist/src/README,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -d -r1.187 -r1.188
--- README	22 Feb 2005 15:33:26 -0000	1.187
+++ README	24 Apr 2005 22:26:37 -0000	1.188
@@ -827,6 +827,9 @@
 Additional debugging code to help debug memory management problems can
 be enabled by using the --with-pydebug option to the configure script.
 
+For flags that change binary compatibility, use the EXTRA_CFLAGS
+variable.
+
 
 Profiling
 ---------



More information about the Python-checkins mailing list