summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-07 03:24:58 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 03:24:58 -0800
commit443b9e05184a54d931eac14c007e309777cace4f (patch)
treedc7e59080dceaf7a53c1e9972c9a020bf17f0a7d
parentde42680bef43288d9338d846841a2f9eebfd83b6 (diff)
Deterministic build.
-rw-r--r--makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefile b/makefile
index 8679cc5..2ce69cc 100644
--- a/makefile
+++ b/makefile
@@ -26,6 +26,7 @@ flags += -Wall -Werror -Wno-deprecated-declarations
flags += -fmessage-length=0
flags += -g0 -O2
flags += -fobjc-exceptions
+flags += -fno-guess-branch-probability
xflags :=
xflags += -fobjc-call-cxx-cdtors
@@ -108,8 +109,10 @@ sysroot:
MobileCydia: sysroot $(object)
@echo "[link] $(object:Objects/%=%)"
@$(cycc) $(filter %.o,$^) $(flags) $(link) $(uikit)
+ @echo "[strp] $@"
+ @strip -no_uuid $@
@echo "[sign] $@"
- @ldid -Slaunch.xml $@ || { rm -f $@ && false; }
+ @ldid -T0 -Slaunch.xml $@ || { rm -f $@ && false; }
CydiaAppliance: CydiaAppliance.mm
$(cycc) $(filter %.mm,$^) $(flags) -bundle $(link) $(backrow)