mirror of
https://github.com/NixOS/nix
synced 2025-07-08 06:53:54 +02:00
Add libatomic for 32-bit ARM
Fixes #3113
(cherry picked from commit 74b4737d8f
)
This commit is contained in:
parent
456bffbbe5
commit
7375b0b58c
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue