diff --git a/srcpkgs/irrlicht/template b/srcpkgs/irrlicht/template index ef108332065..ccacf595b86 100644 --- a/srcpkgs/irrlicht/template +++ b/srcpkgs/irrlicht/template @@ -12,11 +12,6 @@ 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" -fi - - pre_build() { cd source/Irrlicht for file in COpenGLExtensionHandler.h glext.h glxext.h wglext.h; do @@ -28,11 +23,13 @@ pre_build() { -i ${wrksrc}/source/Irrlicht/COSOperator.cpp esac } + do_build() { cd ${wrksrc}/source/Irrlicht make ${makejobs} NDEBUG=1 sharedlib make ${makejobs} NDEBUG=1 } + do_install() { cd source/Irrlicht