aboutsummaryrefslogtreecommitdiff
path: root/packages/darwin_app
diff options
context:
space:
mode:
Diffstat (limited to 'packages/darwin_app')
-rw-r--r--packages/darwin_app/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile
index 568e7422..f2103209 100644
--- a/packages/darwin_app/Makefile
+++ b/packages/darwin_app/Makefile
@@ -31,11 +31,11 @@ TARGET_PLATFORM := $(shell uname -p)
# 10.3 uses gcc 3.3, and 10.3 only runs on PowerPC
GCC_VERSION := $(shell gcc -dumpversion)
ifeq ($(GCC_VERSION),3.3)
-OPT_CFLAGS += -O3 -funroll-loops -fomit-frame-pointer -mcpu=powerpc -mtune=G3
+OPT_CFLAGS += -O3 -funroll-loops -fomit-frame-pointer -march=powerpc -mtune=G3
else
# auto-vectorization in GCC 4.x for CPUs with SIMD
OPT_CFLAGS = -ftree-vectorize -ftree-vectorizer-verbose=2 \
- -fast -fPIC -mcpu=7450 -mtune=7450
+ -fast -fPIC -march=7450 -mtune=7450
endif
# Mac/Intels only run 10.4, so always gcc 4.x