cereal: use $XBPS_TARGET_NO_ATOMIC8
This commit is contained in:
parent
ae8b04b7be
commit
c64a31ff7d
|
@ -12,13 +12,11 @@ homepage="https://uscilab.github.io/cereal"
|
||||||
distfiles="https://github.com/USCiLab/cereal/archive/v${version}.tar.gz"
|
distfiles="https://github.com/USCiLab/cereal/archive/v${version}.tar.gz"
|
||||||
checksum=329ea3e3130b026c03a4acc50e168e7daff4e6e661bc6a7dfec0d77b570851d5
|
checksum=329ea3e3130b026c03a4acc50e168e7daff4e6e661bc6a7dfec0d77b570851d5
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
armv[56]*|ppc|ppc-musl*)
|
|
||||||
makedepends+=" libatomic-devel"
|
makedepends+=" libatomic-devel"
|
||||||
LDFLAGS+=" -latomic"
|
LDFLAGS+=" -latomic"
|
||||||
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
||||||
;;
|
fi
|
||||||
esac
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Reference in New Issue