protobuf: use $XBPS_TARGET_NO_ATOMIC8

This commit is contained in:
Jürgen Buchmüller 2020-03-30 14:23:56 +02:00
parent a73a731d86
commit 8033ced275
1 changed files with 4 additions and 6 deletions

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