Skip to content

Commit

Permalink
Do not add --undefined-version to clang ldflags on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyklim committed Oct 6, 2024
1 parent 7d49afd commit e6ebe34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/compilers/llvm/common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ let
lib.optionals (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD)
(
[ "-L${targetLlvmLibraries.libunwind}/lib" ]
++ lib.optional (lib.versionAtLeast metadata.release_version "17") "--undefined-version"
++ lib.optional (lib.versionAtLeast metadata.release_version "17" && !stdenv.targetPlatform.isDarwin) "--undefined-version"
);
}
);
Expand Down

0 comments on commit e6ebe34

Please sign in to comment.