]> git.saurik.com Git - cydia.git/blobdiff - makefile
Add output filename parameter to pngcrush.sh.
[cydia.git] / makefile
index 10a93496c8f7f5d0d7b31f4212c6841f81cee37c..03dbebcbf175d012d5510e231b8101304ed0c087 100644 (file)
--- a/makefile
+++ b/makefile
@@ -27,9 +27,11 @@ flags += -fmessage-length=0
 flags += -g0 -O2
 flags += -fobjc-exceptions
 flags += -fno-guess-branch-probability
+flags += -fvisibility=hidden
 
 xflags :=
 xflags += -fobjc-call-cxx-cdtors
+xflags += -fvisibility-inlines-hidden
 
 link += -framework CoreFoundation
 link += -framework CoreGraphics
@@ -139,7 +141,7 @@ package: MobileCydia
        mkdir -p _/DEBIAN
        ./control.sh _ >_/DEBIAN/control
        
-       find _ -name '*.png' -exec ./pngcrush.sh '{}' ';'
+       find _ -name '*.png' -exec ./pngcrush.sh '{}' '{}' ';'
        find _ -exec touch -t "$$(date -j -f "%s" +"%Y%m%d%H%M.%S" "$$(git show --format='format:%ct' | head -n 1)")" {} ';'
        
        sudo chown -R 0 _