]> git.saurik.com Git - safemode-ios.git/blobdiff - Makefile
Support iOS 10+, which lost alertSheet (ashikase).
[safemode-ios.git] / Makefile
index bfa08a20ee9d82d226d391aad1c6ecafba4eb7e5..fa4942abc57489dd09dd07882b669a32efb89ffb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-TARGET := iphone:5.1:2.0
-ARCHS := armv6
+TARGET := iphone:7.1:2.0
+ARCHS := armv6 arm64
 PACKAGE_VERSION := $(shell ./version.sh)
 
 include theos/makefiles/common.mk
@@ -8,4 +8,7 @@ TWEAK_NAME := MobileSafety
 MobileSafety_FILES := Tweak.xm
 MobileSafety_FRAMEWORKS := UIKit
 
+ADDITIONAL_CFLAGS += -mllvm -arm-reserve-r9
+ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-lgcc_s.1
+
 include $(THEOS_MAKE_PATH)/tweak.mk