[Python-checkins] CVS: python/dist/src/Lib/distutils extension.py,1.10,1.11

A.M. Kuchling akuchling@users.sourceforge.net
Fri, 29 Mar 2002 10:00:22 -0800


Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv13424/Lib/distutils

Modified Files:
	extension.py 
Log Message:
[Patch #536769] Add -Xcompiler flag for adding arguments and switches for 
    the compiler


Index: extension.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/extension.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** extension.py	21 Dec 2001 15:34:17 -0000	1.10
--- extension.py	29 Mar 2002 18:00:19 -0000	1.11
***************
*** 189,192 ****
--- 189,194 ----
              elif word == "-Xlinker":
                  append_next_word = ext.extra_link_args
+             elif word == "-Xcompiler":
+                 append_next_word = ext.extra_compile_args
              elif switch == "-u":
                  ext.extra_link_args.append(word)