diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-05 22:42:18 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-05 22:42:18 +0000 |
commit | b20a46613ffa4af3604e07689e687ba31cf5e620 (patch) | |
tree | cb143a0e1b747a511ab1120a93a6c28be0f11227 /packages/darwin_app | |
parent | 846502f4c65b8ca3d6162a092e584edd7c4fbe8b (diff) |
removed old 10.3 cruft and cleaned up OPT_CFLAGS stuff
svn path=/trunk/; revision=11689
Diffstat (limited to 'packages/darwin_app')
-rw-r--r-- | packages/darwin_app/Makefile | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile index 5e9030b5..22d54a82 100644 --- a/packages/darwin_app/Makefile +++ b/packages/darwin_app/Makefile @@ -22,26 +22,18 @@ WISH_NAME := $(shell ( test -d $(WISH_SOURCE)/Wish.app && echo Wish) \ WISH = "$(WISH_SOURCE)/$(WISH_NAME).app" WISH_CONTENTS = "$(WISH)/Contents" -# which CPU to compile for -TARGET_PLATFORM := $(shell uname -p) - # CPU-specific gleaned from: # http://developer.apple.com/releasenotes/DeveloperTools/RN-GCC4/ # http://hpc.sourceforge.net/ -# 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 -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 -endif -# Mac/Intels only run 10.4, so always gcc 4.x +OPT_CFLAGS = -fast -fPIC -ftree-vectorize -ftree-vectorizer-verbose=2 + +# which CPU to compile for +TARGET_PLATFORM := $(shell uname -p) ifeq ($(TARGET_PLATFORM),i386) -OPT_CFLAGS = -fast -fPIC -march=pentium4 -msse2 -mfpmath=sse \ - -ftree-vectorize -ftree-vectorizer-verbose=2 + OPT_CFLAGS += -march=pentium4 -msse3 -mfpmath=sse +else + OPT_CFLAGS += -mcpu=7400 -mtune=7400 endif OPT_FLAGS += -DDEBUG_SOUNDFILE |