summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/plat/macosx/prefix.mak6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/plat/macosx/prefix.mak b/core/plat/macosx/prefix.mak
index 722c42567..f29315eda 100644
--- a/core/plat/macosx/prefix.mak
+++ b/core/plat/macosx/prefix.mak
@@ -67,6 +67,12 @@ else
CXFLAGS_RELEASE += -fomit-frame-pointer
CXFLAGS_DEBUG += -fno-omit-frame-pointer $(CXFLAGS_CHECK)
endif
+ifeq ($(BUILD_ARCH),x86_64)
+CXFLAGS_RELEASE += -msse -msse2 -msse3 -mavx -mavx2
+endif
+ifeq ($(BUILD_ARCH),arm64)
+CXFLAGS_RELEASE += -mfpu=neon
+endif
# cflags: .c files
CFLAGS_RELEASE =