From 8b2757a19198c76836b3ba8df664431951b9c60a Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sat, 16 Dec 2023 16:27:08 -0500 Subject: [PATCH] cmake: drop libatomic workaround for riscv --- pkgs/by-name/cm/cmake/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/cm/cmake/package.nix b/pkgs/by-name/cm/cmake/package.nix index cc69b4de4ad2..51db582b68f2 100644 --- a/pkgs/by-name/cm/cmake/package.nix +++ b/pkgs/by-name/cm/cmake/package.nix @@ -138,8 +138,6 @@ stdenv.mkDerivation (finalAttrs: { "CFLAGS=-D_FILE_OFFSET_BITS=64" "CXXFLAGS=-D_FILE_OFFSET_BITS=64" ] - # Workaround missing atomic ops with gcc <13 - ++ lib.optional stdenv.hostPlatform.isRiscV "LDFLAGS=-latomic" ++ [ "--" # We should set the proper `CMAKE_SYSTEM_NAME`.