From 9c241aacaebc8242a1c0b56cc3ae502de7f62bc9 Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Thu, 12 Sep 2019 16:16:35 -1000 Subject: Clang is stupid --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3