cabbage: fix build on ppc
This commit is contained in:
parent
b75e592cef
commit
c8c4fcc92c
|
@ -26,6 +26,11 @@ checksum="0f446cf09177e559d2f2e9a77a78faed611cc869e219a7dc859a6e9b72eca64d
|
|||
de64ff1b5b40a7fdc2de873e80d911ffa9fd6b82435a555dda1e8edc267d1fa3"
|
||||
nocross="Projucer in template uses compiled binary"
|
||||
|
||||
# vsx accel stuff from libpng is not shipped
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc*) CXXFLAGS="-DPNG_POWERPC_VSX_OPT=0" ;;
|
||||
esac
|
||||
|
||||
# without TARGET_ARCH, the build system will assume -march=native,
|
||||
# which is wrong as we're building a generic package and -march does
|
||||
# not even always work
|
||||
|
|
Loading…
Reference in New Issue