protobuf: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:22:11 +01:00
parent f1156145af
commit a7c80cd5dc

View file

@ -19,12 +19,10 @@ if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-protoc=/usr/bin/protoc"
fi
case "$XBPS_TARGET_MACHINE" in
armv[56]*|mips*|ppc|ppc-musl)
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
;;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
fi
pre_configure() {
autoreconf -fi