mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
freeimage: fix build with gcc>=11
This commit is contained in:
parent
af503af1cc
commit
2e36a014d9
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ distfiles="${SOURCEFORGE_SITE}/freeimage/Source%20Distribution/FreeImage${versio
|
||||||
checksum=f41379682f9ada94ea7b34fe86bf9ee00935a3147be41b6569c9605a53e438fd
|
checksum=f41379682f9ada94ea7b34fe86bf9ee00935a3147be41b6569c9605a53e438fd
|
||||||
|
|
||||||
CFLAGS="-fPIC -DPIC -fexceptions -fvisibility=hidden -DPNG_POWERPC_VSX_OPT=0"
|
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"
|
subpackages="freeimage-plus freeimage-devel freeimage-plus-devel"
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue