diff options
-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)))) |