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" configure_args+=" --with-protoc=/usr/bin/protoc"
fi fi
case "$XBPS_TARGET_MACHINE" in if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
armv[56]*|mips*|ppc|ppc-musl)
makedepends+=" libatomic-devel" makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic" LDFLAGS+=" -latomic"
;; fi
esac
pre_configure() { pre_configure() {
autoreconf -fi autoreconf -fi