summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-10-25 05:24:11 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2014-10-25 05:48:34 -0700
commit82e370b360798dcc8cdf41f68744788e503bb8a2 (patch)
tree75e34f1a351b40ab211b363701a7ab47499e8d06 /makefile
parent2eef6631860e965f33d3b0293a8bceea6effd87b (diff)
Carefully set NSFileProtectionNone inside of /var.
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/makefile b/makefile
index 8875c78..bae04ce 100644
--- a/makefile
+++ b/makefile
@@ -136,11 +136,15 @@ cfversion: cfversion.mm
$(cycc) $(filter %.mm,$^) $(flags) $(link) -framework CoreFoundation
@ldid -T0 -S $@
+setnsfpn: setnsfpn.cpp
+ $(cycc) $(filter %.cpp,$^) $(flags) $(link)
+ @ldid -T0 -S $@
+
postinst: postinst.mm Sources.mm Sources.h CyteKit/stringWithUTF8Bytes.mm CyteKit/stringWithUTF8Bytes.h CyteKit/UCPlatform.h
- $(cycc) $(filter %.mm,$^) $(flags) $(link) -framework CoreFoundation -framework Foundation -framework UIKit -lpcre
+ $(cycc) -std=c++11 $(filter %.mm,$^) $(flags) $(link) -framework CoreFoundation -framework Foundation -framework UIKit -lpcre
@ldid -T0 -S $@
-debs/cydia_$(version)_iphoneos-arm.deb: MobileCydia preinst postinst cfversion $(images) $(shell find MobileCydia.app) cydia.control Library/firmware.sh Library/startup
+debs/cydia_$(version)_iphoneos-arm.deb: MobileCydia preinst postinst cfversion setnsfpn $(images) $(shell find MobileCydia.app) cydia.control Library/firmware.sh Library/startup
sudo rm -rf _
mkdir -p _/var/lib/cydia
@@ -152,6 +156,7 @@ debs/cydia_$(version)_iphoneos-arm.deb: MobileCydia preinst postinst cfversion $
cp -a Library _/usr/libexec/cydia
cp -a sysroot/usr/bin/du _/usr/libexec/cydia
cp -a cfversion _/usr/libexec/cydia
+ cp -a setnsfpn _/usr/libexec/cydia
mkdir -p _/Library
cp -a LaunchDaemons _/Library/LaunchDaemons