summaryrefslogtreecommitdiff
path: root/numpy/distutils/intelccompiler.py
diff options
context:
space:
mode:
authorMarsBarLee <46167686+MarsBarLee@users.noreply.github.com>2021-06-08 14:50:40 -0400
committerMarsBarLee <46167686+MarsBarLee@users.noreply.github.com>2021-06-08 14:50:40 -0400
commitd1134930c8dfef8ea935d5c4f2b6ee6613a03d82 (patch)
treea4cfc29a37cc93a9dcc076b7d818ca9e604e0095 /numpy/distutils/intelccompiler.py
parent9964bf877277f31fb5f0092a36b51bf6782366ce (diff)
parentb9a63f5052b0ba5a7a5b2616ddcc1754df177bd3 (diff)
downloadnumpy-d1134930c8dfef8ea935d5c4f2b6ee6613a03d82.tar.gz
Merge branch 'numpy:main' into crosslink-gitpod
Diffstat (limited to 'numpy/distutils/intelccompiler.py')
-rw-r--r--numpy/distutils/intelccompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/intelccompiler.py b/numpy/distutils/intelccompiler.py
index 0388ad577..0fa1c11dd 100644
--- a/numpy/distutils/intelccompiler.py
+++ b/numpy/distutils/intelccompiler.py
@@ -58,7 +58,7 @@ class IntelEM64TCCompiler(UnixCCompiler):
v = self.get_version()
mpopt = 'openmp' if v and v < '15' else 'qopenmp'
- self.cc_exe = ('icc -m64 -fPIC -fp-model strict -O3 '
+ self.cc_exe = ('icc -std=c99 -m64 -fPIC -fp-model strict -O3 '
'-fomit-frame-pointer -{}').format(mpopt)
compiler = self.cc_exe