From cef7a46478caaa2165fec5cad46e37e751693cd5 Mon Sep 17 00:00:00 2001
From: Michael Sarahan <msarahan@gmail.com>
Date: Mon, 11 Jun 2018 17:03:58 -0500
Subject: [PATCH 12/14] Remove ICC specific flags

---
 numpy/core/setup.py | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 2d358442a..1ec6e7130 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -872,7 +872,7 @@ def configuration(parent_package='',top_path=None):
                                   generate_numpy_api,
                                   join(codegen_dir, 'generate_numpy_api.py'),
                                   join('*.py')],
-                         extra_compile_args=['/Qstd=c99' if platform.system() == "Windows" else ''],
+                         extra_compile_args=[],
                          depends=deps + multiarray_deps,
                          libraries=['npymath', 'npysort', 'aligned_alloc', 'mkl_cp'],
                          extra_info=get_info('mkl'))
@@ -928,12 +928,13 @@ def configuration(parent_package='',top_path=None):
             join('src', 'private', 'binop_override.h')] + npymath_sources
 
     npymathc_path = join('build', 'src.%s-%s.%s' % (sysconfig.get_platform(), sys.version_info[0], sys.version_info[1]), 'numpy', 'core', 'src', 'npymath')
-    if platform.system() == "Windows":
-        eca = ['/fp:fast=2', '/Qimf-precision=high', '/Qprec-sqrt', '/Qstd=c99']
-        if sys.version_info < (3, 0):
-            eca.append('/Qprec-div')
-    else:
-        eca = ['-fp-model fast=2', '-fimf-precision=high', '-prec-sqrt']
+#    if platform.system() == "Windows":
+#        eca = ['/fp:fast=2', '/Qimf-precision=high', '/Qprec-sqrt', '/Qstd=c99']
+#        if sys.version_info < (3, 0):
+#            eca.append('/Qprec-div')
+#    else:
+#        eca = ['-fp-model fast=2', '-fimf-precision=high', '-prec-sqrt']
+    eca=[]
     config.add_library('loops',
                        sources=loops_src,
                        include_dirs=[npymathc_path],
-- 
2.17.1

