Skip to content
patch-intel-ccompiler.diff 904 B
Newer Older
diff --git a/numpy/distutils/intelccompiler.py b/numpy/distutils/intelccompiler.py
index 20c6d2b..7bdc3d0 100644
--- a/numpy/distutils/intelccompiler.py
+++ b/numpy/distutils/intelccompiler.py
@@ -48,13 +48,12 @@ class IntelEM64TCCompiler(UnixCCompiler):
     A modified Intel x86_64 compiler compatible with a 64bit GCC-built Python.
     """
     compiler_type = 'intelem'
-    cc_exe = 'icc -m64'
-    cc_args = '-fPIC'
+    cc_exe = 'icc'
+    cc_args = '-fPIC <CFLAGS>'
 
     def __init__(self, verbose=0, dry_run=0, force=0):
         UnixCCompiler.__init__(self, verbose, dry_run, force)
-        self.cc_exe = ('icc -m64 -fPIC -fp-model strict -O3 '
-                       '-fomit-frame-pointer -openmp -xSSE4.2')
+        self.cc_exe = ('icc -fPIC <CFLAGS>')
         compiler = self.cc_exe
         if platform.system() == 'Darwin':
             shared_flag = '-Wl,-undefined,dynamic_lookup'