libpng: expose NEON w/out enabling

This commit is contained in:
Ender's Games 2018-08-07 23:18:05 -04:00
parent 1f688173b8
commit 38edff3dae
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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