diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-11-09 06:01:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 06:01:40 +0000 |
commit | fecd99b105c644b1b61abfec6c203b304269e1e2 (patch) | |
tree | ba0cde17b0de008691f339cdae1c4d19369a729c /pkgs/development/compilers/llvm/16/compiler-rt/default.nix | |
parent | 50249cdaf29f872fb960dc9110696d208a77fc3a (diff) | |
parent | 4aad65bfdbc56be726873b09b4bbaa88448ecbba (diff) | |
download | nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.gz nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.bz2 nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.lz nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.xz nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.zst nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.zip |
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/compilers/llvm/16/compiler-rt/default.nix')
-rw-r--r-- | pkgs/development/compilers/llvm/16/compiler-rt/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/llvm/16/compiler-rt/default.nix b/pkgs/development/compilers/llvm/16/compiler-rt/default.nix index e45d1f8660b1..9b6ab0a77c2a 100644 --- a/pkgs/development/compilers/llvm/16/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/16/compiler-rt/default.nix @@ -121,7 +121,7 @@ stdenv.mkDerivation { # Hack around weird upsream RPATH bug postInstall = lib.optionalString (stdenv.hostPlatform.isDarwin) '' ln -s "$out/lib"/*/* "$out/lib" - '' + lib.optionalString (useLLVM && !stdenv.hostPlatform.isWasm) '' + '' + lib.optionalString (useLLVM && stdenv.hostPlatform.isLinux) '' ln -s $out/lib/*/clang_rt.crtbegin-*.o $out/lib/crtbegin.o ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtend.o # Note the history of crt{begin,end}S in previous versions of llvm in nixpkg: |