protobuf: fix armv6

This commit is contained in:
Enno Boland 2018-07-01 11:42:44 +02:00
parent fc5b1d34b4
commit fbb7c3c199
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
1 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,13 @@ if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-protoc=/usr/bin/protoc"
fi
case "$XBPS_TARGET_MACHINE" in
armv6l*)
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
;;
esac
pre_configure() {
autoreconf -fi
}