diff options
Diffstat (limited to 'numpy/distutils/fcompiler/intel.py')
-rw-r--r-- | numpy/distutils/fcompiler/intel.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/distutils/fcompiler/intel.py b/numpy/distutils/fcompiler/intel.py index 1274ba05f..cb540d1bc 100644 --- a/numpy/distutils/fcompiler/intel.py +++ b/numpy/distutils/fcompiler/intel.py @@ -114,6 +114,12 @@ class IntelEM64TFCompiler(IntelFCompiler): 'ranlib' : ["ranlib"] } + def get_flags_arch(self): + opt = [] + if cpu.is_PentiumIV() or cpu.is_Xeon(): + opt.extend(['-tpp7', '-xW']) + return opt + class IntelVisualFCompiler(FCompiler): compiler_type = 'intelv' |