mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
irrlicht: remove XBPS_GCC_* usage
This commit is contained in:
parent
63b7bb4e9f
commit
66f1164da5
1 changed files with 2 additions and 5 deletions
|
@ -12,11 +12,6 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.zip"
|
||||||
checksum=f42b280bc608e545b820206fe2a999c55f290de5c7509a02bdbeeccc1bf9e433
|
checksum=f42b280bc608e545b820206fe2a999c55f290de5c7509a02bdbeeccc1bf9e433
|
||||||
CPPFLAGS="-DPNG_ARM_NEON_OPT=0"
|
CPPFLAGS="-DPNG_ARM_NEON_OPT=0"
|
||||||
|
|
||||||
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
|
|
||||||
CXXFLAGS="-Wno-error=narrowing"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
cd source/Irrlicht
|
cd source/Irrlicht
|
||||||
for file in COpenGLExtensionHandler.h glext.h glxext.h wglext.h; do
|
for file in COpenGLExtensionHandler.h glext.h glxext.h wglext.h; do
|
||||||
|
@ -28,11 +23,13 @@ pre_build() {
|
||||||
-i ${wrksrc}/source/Irrlicht/COSOperator.cpp
|
-i ${wrksrc}/source/Irrlicht/COSOperator.cpp
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd ${wrksrc}/source/Irrlicht
|
cd ${wrksrc}/source/Irrlicht
|
||||||
make ${makejobs} NDEBUG=1 sharedlib
|
make ${makejobs} NDEBUG=1 sharedlib
|
||||||
make ${makejobs} NDEBUG=1
|
make ${makejobs} NDEBUG=1
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
cd source/Irrlicht
|
cd source/Irrlicht
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue