forked from mirrors/nixpkgs
aws-sdk-cpp: fix build on RISC-V hosts
This commit is contained in:
parent
182c974f57
commit
b3851cdeb0
|
@ -92,6 +92,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# propagation is needed for Security.framework to be available when linking
|
||||
propagatedBuildInputs = [ aws-crt-cpp ];
|
||||
# Ensure the linker is using atomic when compiling for RISC-V, otherwise fails
|
||||
LDFLAGS = lib.optionalString stdenv.hostPlatform.isRiscV "-latomic";
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_DEPS=OFF"
|
||||
|
|
Loading…
Reference in a new issue