aboutsummaryrefslogtreecommitdiffstats
path: root/main/pngcrush/01-makefile-sanity.patch
diff options
context:
space:
mode:
authorKiyoshi Aman <aphrael@alpinelinux.org>2012-03-13 12:16:53 -0400
committerKiyoshi Aman <aphrael@alpinelinux.org>2012-03-13 12:17:21 -0400
commita547975afc0b1b70fd23afa577db276664e14d96 (patch)
tree81f5ed02faf6132f05de323ae8f157f44898303a /main/pngcrush/01-makefile-sanity.patch
parentc37fe5f609ecef1ec68d5f79fccf90cc27c0a5d9 (diff)
downloadaports-a547975afc0b1b70fd23afa577db276664e14d96.tar.bz2
aports-a547975afc0b1b70fd23afa577db276664e14d96.tar.xz
main/pngcrush: new APKBUILD
Diffstat (limited to 'main/pngcrush/01-makefile-sanity.patch')
-rw-r--r--main/pngcrush/01-makefile-sanity.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/pngcrush/01-makefile-sanity.patch b/main/pngcrush/01-makefile-sanity.patch
new file mode 100644
index 0000000000..abbeff5533
--- /dev/null
+++ b/main/pngcrush/01-makefile-sanity.patch
@@ -0,0 +1,13 @@
+--- pngcrush-1.7.25/Makefile
++++ pngcrush-1.7.25/Makefile
+@@ -20,8 +20,8 @@
+ #CFLAGS = -I. -O -Wall
+ #CFLAGS = -I. -O2
+ #CFLAGS = -I. -O3 -fomit-frame-pointer -Wall
+-#CFLAGS = -I. -Os -fomit-frame-pointer -Wall
+-CFLAGS = -I. -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow
++CFLAGS = -I. -Os -fomit-frame-pointer -Wall
++#CFLAGS = -I. -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow
+ #CFLAGS = -I${ZINC} -I. -O3 -fomit-frame-pointer -Wall
+ # [note that -Wall is a gcc-specific compilation flag ("all warnings on")]
+