Fix compiling png on arm platforms.

Thx @TheBrokenRail for report and patch.
Hidden in comments of patch #322: https://sourceforge.net/p/irrlicht/patches/322
(patch is for es branch, so only part of it applied for now)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6176 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2020-12-22 21:26:39 +00:00
parent e8e38b5095
commit 0e56aca052

@ -81,7 +81,7 @@ endif
ifdef PROFILE ifdef PROFILE
CXXFLAGS += -pg CXXFLAGS += -pg
endif endif
CFLAGS := -O3 -fexpensive-optimizations -DPNG_THREAD_UNSAFE_OK -DPNG_NO_MMX_CODE -DPNG_NO_MNG_FEATURES CFLAGS := -O3 -fexpensive-optimizations -DPNG_THREAD_UNSAFE_OK -DPNG_NO_MMX_CODE -DPNG_NO_MNG_FEATURES -DPNG_ARM_NEON_OPT=0
sharedlib sharedlib_osx: CXXFLAGS += -fPIC sharedlib sharedlib_osx: CXXFLAGS += -fPIC
sharedlib sharedlib_osx: CFLAGS += -fPIC sharedlib sharedlib_osx: CFLAGS += -fPIC