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"
|
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
|
||||||
|
|
Loading…
Reference in New Issue