From eb40eacacfbea2f8001470355f68e7aae481b991 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 18 Jun 2011 15:01:14 -0700 Subject: Limit -mcpu to armv6 on gcc. --- makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index f98a902..828ee36 100644 --- a/makefile +++ b/makefile @@ -78,9 +78,13 @@ backrow += -FAppleTV -framework BackRow -framework AppleTV version := $(shell ./version.sh) -cycc = $(gxx) -mthumb -arch armv6 -o $@ -mcpu=arm1176jzf-s -miphoneos-version-min=2.0 -isysroot $(sdk) -idirafter /usr/include -F{sysroot,}/Library/Frameworks +cycc = $(gxx) -mthumb -arch armv6 -o $@ -miphoneos-version-min=2.0 -isysroot $(sdk) -idirafter /usr/include -F{sysroot,}/Library/Frameworks #cycc = cycc -r4.2 -i$(ios) -o$@ +ifneq ($(gcc),) +cycc += -Xarch_armv6 -mcpu=arm1176jzf-s +endif + dirs := Menes CyteKit Cydia SDURLCache code := $(foreach dir,$(dirs),$(wildcard $(foreach ext,h hpp c cpp m mm,$(dir)/*.$(ext)))) -- cgit v1.2.3