protobuf: use $XBPS_TARGET_NO_ATOMIC8
This commit is contained in:
parent
a73a731d86
commit
8033ced275
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue