freeimage: fix build with gcc>=11

This commit is contained in:
Duncaen 2022-10-08 12:43:54 +02:00
parent af503af1cc
commit 2e36a014d9
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -13,7 +13,7 @@ distfiles="${SOURCEFORGE_SITE}/freeimage/Source%20Distribution/FreeImage${versio
checksum=f41379682f9ada94ea7b34fe86bf9ee00935a3147be41b6569c9605a53e438fd
CFLAGS="-fPIC -DPIC -fexceptions -fvisibility=hidden -DPNG_POWERPC_VSX_OPT=0"
CXXFLAGS="${CFLAGS} -Wno-ctor-dtor-privacy"
CXXFLAGS="${CFLAGS} -Wno-ctor-dtor-privacy -std=c++14"
subpackages="freeimage-plus freeimage-devel freeimage-plus-devel"
post_patch() {