From 66f1164da5c787ded7906f43d1ad3c763be6b8f2 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 31 Dec 2018 19:27:42 -0200 Subject: [PATCH] irrlicht: remove XBPS_GCC_* usage --- srcpkgs/irrlicht/template | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/srcpkgs/irrlicht/template b/srcpkgs/irrlicht/template index ef10833206..ccacf595b8 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