summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Green <tomgreen66@hotmail.com>2021-12-14 22:51:23 +0000
committerGitHub <noreply@github.com>2021-12-14 22:51:23 +0000
commite6c3f44299453a841e76cf52714168979d0899dd (patch)
tree70b7fc573fc7d4406eff8065506679c4d7349c60
parentdc766fc1abb546ab883f76ef4e405e99e9287ab6 (diff)
downloadnumpy-e6c3f44299453a841e76cf52714168979d0899dd.tar.gz
Update armccompiler.py
Remove `-mcpu=native` since it should be decided by the configuration.
-rw-r--r--numpy/distutils/armccompiler.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/distutils/armccompiler.py b/numpy/distutils/armccompiler.py
index feb8f7e31..968504c7b 100644
--- a/numpy/distutils/armccompiler.py
+++ b/numpy/distutils/armccompiler.py
@@ -17,11 +17,11 @@ class ArmCCompiler(UnixCCompiler):
cc_compiler = self.cc_exe
cxx_compiler = self.cxx_exe
self.set_executables(compiler=cc_compiler +
- ' -mcpu=native -O3 -fPIC',
+ ' -O3 -fPIC',
compiler_so=cc_compiler +
- ' -mcpu=native -O3 -fPIC',
+ ' -O3 -fPIC',
compiler_cxx=cxx_compiler +
- ' -mcpu=native -O3 -fPIC',
+ ' -O3 -fPIC',
linker_exe=cc_compiler +
' -lamath',
linker_so=cc_compiler +