summaryrefslogtreecommitdiff
path: root/scripts/makefile.std
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makefile.std')
-rw-r--r--scripts/makefile.std4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/makefile.std b/scripts/makefile.std
index a3bb9441e..ed1105f9a 100644
--- a/scripts/makefile.std
+++ b/scripts/makefile.std
@@ -40,9 +40,11 @@ MV_F = mv -f
RM_F = rm -f
AWK = awk
+NOHWOPT = -DPNG_ARM_NEON_OPT=0 -DPNG_MIPS_MSA_OPT=0 \
+ -DPNG_POWERPC_VSX_OPT=0 -DPNG_INTEL_SSE_OPT=0
DFNFLAGS = # DFNFLAGS contains -D options to use in the libpng build
DFA_EXTRA = # extra files that can be used to control configuration
-CPPFLAGS = -I$(ZLIBINC) # -DPNG_DEBUG=5
+CPPFLAGS = -I$(ZLIBINC) $(NOHWOPT) # -DPNG_DEBUG=5
CFLAGS = -O # -g
LDFLAGS = -L$(ZLIBLIB) # -g
LIBS = -lz -lm