Skip to content

Commit

Permalink
Add libatomic for 32-bit ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbauer committed Oct 2, 2019
1 parent a56b51a commit 74b4737
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure.ac
Expand Up @@ -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


# Look for OpenSSL, a required dependency.
PKG_CHECK_MODULES([OPENSSL], [libcrypto], [CXXFLAGS="$OPENSSL_CFLAGS $CXXFLAGS"])
Expand Down

0 comments on commit 74b4737

Please sign in to comment.