summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 54e1360..cf456e8 100644
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,9 @@ TWEAK_NAME := MobileSafety
MobileSafety_CFLAGS := -Wno-return-stack-address
MobileSafety_FILES := Tweak.xm
MobileSafety_FRAMEWORKS := UIKit
+MobileSafety_OPTFLAG := -O2
-ADDITIONAL_CFLAGS += -Wno-error=tautological-undefined-compare -Wno-error=deprecated-declarations
+ADDITIONAL_CFLAGS += -Wno-error=tautological-undefined-compare -Wno-error=deprecated-declarations -Wno-error=return-stack-address
#ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-lgcc_s.1
#ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-segalign,4000 -Xarch_armv6 -ffixed-r9