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 }