[macOS / ARM64] Remove "-msse2" flag from ARM64 release export template build.
(cherry picked from commit 09f301029a
)
This commit is contained in:
parent
336506a273
commit
bc25b80c0f
1 changed files with 4 additions and 2 deletions
|
@ -45,9 +45,11 @@ def configure(env):
|
|||
if env["target"] == "release":
|
||||
if env["debug_symbols"] != "full":
|
||||
if env["optimize"] == "speed": # optimize for speed (default)
|
||||
env.Prepend(CCFLAGS=["-O3", "-fomit-frame-pointer", "-ftree-vectorize", "-msse2"])
|
||||
env.Prepend(CCFLAGS=["-O3", "-fomit-frame-pointer", "-ftree-vectorize"])
|
||||
else: # optimize for size
|
||||
env.Prepend(CCFLAGS=["-Os", "-ftree-vectorize", "-msse2"])
|
||||
env.Prepend(CCFLAGS=["-Os", "-ftree-vectorize"])
|
||||
if env["arch"] != "arm64":
|
||||
env.Prepend(CCFLAGS=["-msse2"])
|
||||
|
||||
if env["debug_symbols"] == "yes":
|
||||
env.Prepend(CCFLAGS=["-g2"])
|
||||
|
|
Loading…
Reference in a new issue