summaryrefslogtreecommitdiffstats
path: root/main/pngcrush/01-makefile-sanity.patch
diff options
context:
space:
mode:
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 000000000..abbeff553
--- /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")]
+