summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-10-12 02:15:02 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-10-12 02:15:02 -0700
commit61bc7627c4d324d985fd0da5c66178d3aeac74d0 (patch)
treea56583fd76445a54001879fcb0fa564c1c90cd40
parent6b98eff1bf78f18653d6087dc2f622b3aab4843f (diff)
Avoid default cycc behavior of compiling to arm64.
-rw-r--r--makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/makefile b/makefile
index 77f014c..0f16936 100644
--- a/makefile
+++ b/makefile
@@ -12,6 +12,8 @@ private := -F/System/Library/PrivateFrameworks
flags := -Os -Werror
flags += -framework CoreFoundation
flags += -framework Foundation
+flags += -miphoneos-version-min=2.0
+flags += -arch armv6
gssc := -lobjc
iomfsetgamma := -I. $(private) -framework IOKit -framework IOMobileFramebuffer
@@ -25,11 +27,11 @@ uicache: csstore.cpp
extrainst_: csstore.cpp
%: %.mm
- cycc -i2.0 -o$@ -- $^ $(flags) $($@)
+ cycc -- -o $@ $^ $(flags) $($@)
ldid -S$(wildcard $@.xml) $@
%: %.c
- cycc -i2.0 -o$@ -- -x c $^ $(flags) $($@)
+ cycc -- -o $@ -x c $^ $(flags) $($@)
ldid -S$(wildcard $@.xml) $@
package: all extrainst_