summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-09-12 16:16:35 -1000
committerSam Bingner <sam@bingner.com>2019-09-12 16:16:35 -1000
commit9c241aacaebc8242a1c0b56cc3ae502de7f62bc9 (patch)
tree670e4b8daa02812d295359b3ec57a4d9e104ba3f
parent6ba785c1cc0dfa9eb0ce65bb03f4fab9f6eeaa91 (diff)
Clang is stupid
-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