glog: fix build on ppc*-musl

This commit is contained in:
q66 2022-10-16 13:59:14 +00:00
parent 0589c2c236
commit 28959c317c
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES='-latomic'"
fi
case "$XBPS_TARGET_MACHINE" in
ppc64*-musl) configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES='-lucontext'";;
ppc*-musl) configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES='-latomic -lucontext'";;
esac
post_install() {
vlicense COPYING
}