Add libatomic for 32-bit ARM
Fixes #3113
(cherry picked from commit 74b4737d8f)
This commit is contained in:
committed by
Alyssa Ross
parent
456bffbbe5
commit
7375b0b58c
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user