protobuf: fix armv5* and mips* build

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller
2018-07-02 08:14:00 +02:00
parent b041ffd8da
commit e0d287dd3c

View File

@@ -22,7 +22,7 @@ if [ "$CROSS_BUILD" ]; then
fi
case "$XBPS_TARGET_MACHINE" in
armv6l*)
armv[56]*|mips*)
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
;;