irrlicht: remove XBPS_GCC_* usage

This commit is contained in:
maxice8 2018-12-31 19:27:42 -02:00 committed by maxice8
parent 63b7bb4e9f
commit 66f1164da5

View file

@ -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