-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
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