From 443b9e05184a54d931eac14c007e309777cace4f Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 7 Mar 2011 03:24:58 -0800 Subject: Deterministic build. --- makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3