Skip to content

Commit

Permalink
Update armccompiler.py
Browse files Browse the repository at this point in the history
Remove `-mcpu=native` since it should be decided by the configuration.
  • Loading branch information
tomgreen66 authored and charris committed Dec 30, 2021
1 parent d93b14e commit 794b36f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions numpy/distutils/armccompiler.py
Expand Up @@ -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 +
Expand Down

0 comments on commit 794b36f

Please sign in to comment.