nix: fix build on armv5tel-linux
This commit is contained in:
parent
63c9e4ee9d
commit
209d700da4
@ -57,7 +57,7 @@ common =
|
|||||||
propagatedBuildInputs = [ boehmgc ];
|
propagatedBuildInputs = [ boehmgc ];
|
||||||
|
|
||||||
# Seems to be required when using std::atomic with 64-bit types
|
# Seems to be required when using std::atomic with 64-bit types
|
||||||
NIX_LDFLAGS = lib.optionalString (stdenv.hostPlatform.system == "armv6l-linux") "-latomic";
|
NIX_LDFLAGS = lib.optionalString (stdenv.hostPlatform.system == "armv5tel-linux" || stdenv.hostPlatform.system == "armv6l-linux") "-latomic";
|
||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
# Copy libboost_context so we don't get all of Boost in our closure.
|
# Copy libboost_context so we don't get all of Boost in our closure.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user