summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-06-26 20:57:02 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-06-26 20:57:02 -0700
commitef0e2d50c9d7b51e53ce6fd4bae768742526ca3e (patch)
tree4a8449ed8fcfa08a6b2b797c1359feba1bc0f3e5 /makefile
parent85a77f07b23019c3adfc990f653a3abfbb741e28 (diff)
Apple's newer LLVM backends generate garbage code.
Diffstat (limited to 'makefile')
-rw-r--r--makefile2
1 files changed, 2 insertions, 0 deletions
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) $@