[Numpy-svn] r4386 - branches/numpy.scons/numpy/distutils/scons

numpy-svn at scipy.org numpy-svn at scipy.org
Mon Nov 5 05:09:47 EST 2007


Author: cdavid
Date: 2007-11-05 04:09:44 -0600 (Mon, 05 Nov 2007)
New Revision: 4386

Modified:
   branches/numpy.scons/numpy/distutils/scons/default.py
Log:
Sensible default for compilation on not supported compilers

Modified: branches/numpy.scons/numpy/distutils/scons/default.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/default.py	2007-11-05 10:02:57 UTC (rev 4385)
+++ branches/numpy.scons/numpy/distutils/scons/default.py	2007-11-05 10:09:44 UTC (rev 4386)
@@ -166,6 +166,9 @@
                              thread = ['/MD', '/GX'], 
                              extra = ['/nologo'])
     else:
-        cfg = CompilerConfig()
+        # For not yet supported compiler, just put everything in optims from
+        # distutils
+        cfg = CompilerConfig(optims =
+                distutils.sysconfig.get_config_vars('CFLAGS'))
 
     return cfg




More information about the Numpy-svn mailing list