From 794b36f7e1bf2a8c42774ab0db86a74bd32f674b Mon Sep 17 00:00:00 2001 From: Thomas Green Date: Tue, 14 Dec 2021 22:51:23 +0000 Subject: [PATCH] Update armccompiler.py Remove `-mcpu=native` since it should be decided by the configuration. --- numpy/distutils/armccompiler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/numpy/distutils/armccompiler.py b/numpy/distutils/armccompiler.py index feb8f7e31194..968504c7b4c1 100644 --- a/numpy/distutils/armccompiler.py +++ b/numpy/distutils/armccompiler.py @@ -17,11 +17,11 @@ def __init__(self, verbose=0, dry_run=0, force=0): 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 +