$OpenBSD: patch-Makefile,v 1.4 2017/08/01 19:53:27 benoit Exp $
--- Makefile.orig	Thu Mar 16 18:24:24 2017
+++ Makefile	Tue Aug  1 21:48:01 2017
@@ -19,7 +19,7 @@
 # On some platforms you might need to comment this out:
 CFLAGS += -std=c90 
 
-CFLAGS += -O3 -funroll-loops -fomit-frame-pointer
+#CFLAGS += -O3 -funroll-loops -fomit-frame-pointer
 
 # use unified libpng:
 CPPFLAGS = -DLIBPNG_UNIFIED
@@ -52,24 +52,24 @@
 	 trees$(O) uncompr$(O) zutil$(O)
 
 # Enable ARM_NEON support
-CPPFLAGS += -DPNGCRUSH_USE_ARM_NEON
+#CPPFLAGS += -DPNGCRUSH_USE_ARM_NEON
 # Disable ARM_NEON support
-# CPPFLAGS += -DPNG_ARM_NEON_OPT=0
+CPPFLAGS += -DPNG_ARM_NEON_OPT=0
 
 # Enable MIPS-NSA support
-CPPFLAGS += -DPNGCRUSH_USE_MPS_MSA
+#CPPFLAGS += -DPNGCRUSH_USE_MPS_MSA
 # Disable MIPS-NSA support
-# CPPFLAGS += -DPNG_MIPS_MSA_OPT=0
+CPPFLAGS += -DPNG_MIPS_MSA_OPT=0
 
 # Enable INTEL SSE support
-CPPFLAGS += -DPNGCRUSH_USE_INTEL_SSE -DPNG_INTEL_SSE
+#CPPFLAGS += -DPNGCRUSH_USE_INTEL_SSE -DPNG_INTEL_SSE
 # Disable INTEL SSE support
-# CPPFLAGS += -DPNG_INTEL_SSE_OPT=0
+CPPFLAGS += -DPNG_INTEL_SSE_OPT=0
 
 # Enable POWERPC_VSX support
-CPPFLAGS += -DPNGCRUSH_USE_POWERPC_VSX
+#CPPFLAGS += -DPNGCRUSH_USE_POWERPC_VSX
 # Disable POWERPC_VSX support
-# CPPFLAGS += -DPNG_POWERPC_VSX_OPT=0
+CPPFLAGS += -DPNG_POWERPC_VSX_OPT=0
 
 # unified libpng with separate zlib *.o
 OBJS  = pngcrush$(O) $(ZOBJS)
