summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 14d0ee2..ba6aa4e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-TARGET := iphone:7.1:2.0
-ARCHS := armv6 armv7s arm64
+TARGET := iphone:11.0:11.0
+ARCHS := arm64
PACKAGE_VERSION := $(shell ./version.sh)
include theos/makefiles/common.mk
@@ -8,10 +8,13 @@ TWEAK_NAME := MobileSafety
MobileSafety_FILES := Tweak.xm
MobileSafety_FRAMEWORKS := UIKit
-ADDITIONAL_CFLAGS += -mllvm -arm-reserve-r9
-ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-lgcc_s.1
+ADDITIONAL_CFLAGS += -Wno-error=tautological-undefined-compare -Wno-error=deprecated-declarations
+#ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-lgcc_s.1
-ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-segalign,4000
-ADDITIONAL_LDFLAGS += -Xarch_armv7s -Wl,-segalign,4000
+#ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-segalign,4000 -Xarch_armv6 -ffixed-r9
+#ADDITIONAL_LDFLAGS += -Xarch_armv7s -Wl,-segalign,4000 -Xarch_armv7s -ffixed-r9
include $(THEOS_MAKE_PATH)/tweak.mk
+
+after-stage::
+ @cp MobileSafety.png $(THEOS_STAGING_DIR)/Library/MobileSubstrate/MobileSafety.png