waifu2x-converter-cpp: silly workaround for vector conflict on ppc
This commit is contained in:
parent
a13eaf8fb9
commit
52c9b8d640
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,11 @@ homepage="https://github.com/DeadSix27/waifu2x-converter-cpp"
|
|||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=e10bd5c64015553d1340988cf886aa51ed3cf4108f1a3ba864b3ea818426de7d
|
||||
|
||||
# silly workaround to prevent vector/bool/etc from being defined
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc*) CXXFLAGS+=" -D__APPLE_ALTIVEC__";;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
# conv is a generator built with add_executable
|
||||
# build it before so it is built with the correct
|
||||
|
|
Loading…
Reference in a new issue