Add libatomic for 32-bit ARM

Fixes #3113

(cherry picked from commit 74b4737d8f)
This commit is contained in:
Matthew Bauer
2019-10-01 21:07:07 -04:00
committed by Alyssa Ross
parent 456bffbbe5
commit 7375b0b58c

View File

@@ -157,6 +157,11 @@ AX_BOOST_BASE([1.66], [CXXFLAGS="$BOOST_CPPFLAGS $CXXFLAGS"], [AC_MSG_ERROR([Nix
# ends up with LDFLAGS being empty, so we set it afterwards.
LDFLAGS="$BOOST_LDFLAGS $LDFLAGS"
# Boost atomic needs GCC libatomic on 32-bit ARM
case "$host_cpu" in
armv5*|armv6*|armv7*) LIBS="-latomic $LIBS"
esac
PKG_PROG_PKG_CONFIG