From fbb7c3c199312942432471939d2390c756c3fd5a Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sun, 1 Jul 2018 11:42:44 +0200 Subject: [PATCH] protobuf: fix armv6 --- srcpkgs/protobuf/template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/srcpkgs/protobuf/template b/srcpkgs/protobuf/template index cd1087d954a..697d0c2521a 100644 --- a/srcpkgs/protobuf/template +++ b/srcpkgs/protobuf/template @@ -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 }