]> git.saurik.com Git - veency.git/commitdiff
Support iOS 2.x (ARMv6 "reserve r9" and libgcc.s).
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 27 Jan 2014 05:28:44 +0000 (21:28 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 27 Jan 2014 05:28:44 +0000 (21:28 -0800)
makefile

index bab6125dbaca9e24039c694e9b29897c66fb47a5..60f0486dfe1c49b1a07b3d46f15163d605ca6a1b 100644 (file)
--- a/makefile
+++ b/makefile
@@ -43,4 +43,7 @@ ADDITIONAL_LDFLAGS += -lz
 ADDITIONAL_LDFLAGS += -F/System/Library/PrivateFrameworks
 ADDITIONAL_LDFLAGS += -weak_reference_mismatches weak
 
 ADDITIONAL_LDFLAGS += -F/System/Library/PrivateFrameworks
 ADDITIONAL_LDFLAGS += -weak_reference_mismatches weak
 
+ADDITIONAL_CFLAGS += -mllvm -arm-reserve-r9
+ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-lgcc_s.1
+
 include $(THEOS_MAKE_PATH)/tweak.mk
 include $(THEOS_MAKE_PATH)/tweak.mk