graphics/freeimage: do not attempt to build the bundled libpng with neon
support on arm and aarch64. The sources are not included, so the library has missing external references such as png_init_filter_functions_neon(). This in turn breaks the build of emulators/emulationstation and x11/ogre. ok jca (who also suggested that arm needed same fix)
This commit is contained in:
parent
cbd37ed293
commit
7084fc7b05
@ -3,6 +3,7 @@ COMMENT= c++ library for common image format
|
||||
DISTNAME= FreeImage3180
|
||||
PKGNAME= freeimage-3.18.0
|
||||
CATEGORIES= graphics
|
||||
REVISION= 0
|
||||
|
||||
SHARED_LIBS+= freeimage 3.0
|
||||
|
||||
@ -29,6 +30,12 @@ MAKE_TARGET= Makefile.gnu
|
||||
|
||||
FIX_CRLF_FILES= Makefile.gnu TestAPI/Makefile
|
||||
|
||||
# The bundled libpng ships without the source for neon support, so
|
||||
# disable it to avoid undefined external references.
|
||||
.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "arm"
|
||||
CFLAGS += -DPNG_ARM_NEON_OPT=0
|
||||
.endif
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC}/TestAPI && ${MAKE_PROGRAM} ${MAKE_ENV}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user