irrlicht: disable ARM Neon in libpng

This commit is contained in:
newbluemoon 2017-10-25 08:23:39 +02:00 committed by Enno Boland
parent 890fff51f6
commit fc1ddb1a5d

View file

@ -1,7 +1,7 @@
# Template file for 'irrlicht'
pkgname=irrlicht
version=1.8.4
revision=1
revision=2
hostmakedepends="unzip pkg-config"
makedepends="libjpeg-turbo-devel libpng-devel libXcursor-devel libXext-devel MesaLib-devel"
short_desc="Lightning fast realtime 3D engine"
@ -10,6 +10,7 @@ license="LGPL-2.1"
homepage="http://irrlicht.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.zip"
checksum=f42b280bc608e545b820206fe2a999c55f290de5c7509a02bdbeeccc1bf9e433
CPPFLAGS="-DPNG_ARM_NEON_OPT=0"
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
CXXFLAGS="-Wno-error=narrowing"