From b84bfc4ae52289d5a88a47400ac9d269746c6ce4 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 18 Aug 2008 16:43:44 +0000 Subject: changed deprecated -mcpu flags to -march svn path=/trunk/; revision=10253 --- packages/darwin_app/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/darwin_app/Makefile') 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 -- cgit v1.2.1