Merge pull request #265490 from alyssais/compiler-rt-16-freebsd
llvmPackages_16.compiler-rt: fix FreeBSD build
This commit is contained in:
commit
83bfbf0213
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue