diff --git a/core/core.mk b/core/core.mk index b7e3835f5..9463fb7a1 100755 --- a/core/core.mk +++ b/core/core.mk @@ -111,4 +111,7 @@ ifdef HAS_SOFTREND RZDCY_CFLAGS += -DTARGET_SOFTREND endif +# png_init_filter_functions_neon +RZDCY_CFLAGS += -DPNG_ARM_NEON_OPT=0 + RZDCY_CXXFLAGS := $(RZDCY_CFLAGS) -fno-exceptions -fno-rtti -std=gnu++11 diff --git a/core/deps/libpng/config.h b/core/deps/libpng/config.h index 6f5e19099..55ea12201 100644 --- a/core/deps/libpng/config.h +++ b/core/deps/libpng/config.h @@ -77,7 +77,7 @@ /* #undef PNG_ARM_NEON_CHECK_SUPPORTED */ /* Enable ARM Neon optimizations */ -/* #undef PNG_ARM_NEON_OPT */ +#define PNG_ARM_NEON_OPT 0 /* Enable Intel SSE optimizations */ #define PNG_INTEL_SSE_OPT 0