From ef0e2d50c9d7b51e53ce6fd4bae768742526ca3e Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 26 Jun 2015 20:57:02 -0700 Subject: Apple's newer LLVM backends generate garbage code. --- makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'makefile') diff --git a/makefile b/makefile index 77f014c..46abed4 100644 --- a/makefile +++ b/makefile @@ -25,10 +25,12 @@ uicache: csstore.cpp extrainst_: csstore.cpp %: %.mm + sudo xcode-select --switch /Applications/Xcode-4.6.3.app cycc -i2.0 -o$@ -- $^ $(flags) $($@) ldid -S$(wildcard $@.xml) $@ %: %.c + sudo xcode-select --switch /Applications/Xcode-4.6.3.app cycc -i2.0 -o$@ -- -x c $^ $(flags) $($@) ldid -S$(wildcard $@.xml) $@ -- cgit v1.2.3