diff --git a/srcpkgs/freeimage/template b/srcpkgs/freeimage/template index 2d2ea55d673..8b4b25aef29 100644 --- a/srcpkgs/freeimage/template +++ b/srcpkgs/freeimage/template @@ -12,7 +12,7 @@ homepage="http://freeimage.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/freeimage/Source%20Distribution/FreeImage${version//./}.zip" checksum=f41379682f9ada94ea7b34fe86bf9ee00935a3147be41b6569c9605a53e438fd -CFLAGS="-fPIC -DPIC -fexceptions -fvisibility=hidden" +CFLAGS="-fPIC -DPIC -fexceptions -fvisibility=hidden -DPNG_POWERPC_VSX_OPT=0" CXXFLAGS="${CFLAGS} -Wno-ctor-dtor-privacy" subpackages="freeimage-plus freeimage-devel freeimage-plus-devel"