diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-06-18 15:01:14 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-06-18 15:01:14 -0700 |
commit | eb40eacacfbea2f8001470355f68e7aae481b991 (patch) | |
tree | ebb07ec10f3ef5450ee72fd8f5cf8942af550eab /makefile | |
parent | e85bcceb1f72ea2088bbb4ff799f21b5da0a0e78 (diff) |
Limit -mcpu to armv6 on gcc.
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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)))) |