aws-sdk-cpp: drop libatomic workaround for riscv

This commit is contained in:
Nick Cao 2023-12-16 16:26:40 -05:00
parent 9eaa23ac72
commit dbb7b67b56
No known key found for this signature in database

View file

@ -78,8 +78,6 @@ stdenv.mkDerivation rec {
# propagation is needed for Security.framework to be available when linking # propagation is needed for Security.framework to be available when linking
propagatedBuildInputs = [ aws-crt-cpp ]; 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 = [ cmakeFlags = [
"-DBUILD_DEPS=OFF" "-DBUILD_DEPS=OFF"