Merge pull request #265490 from alyssais/compiler-rt-16-freebsd

llvmPackages_16.compiler-rt: fix FreeBSD build

authored by Weijia Wang and committed by GitHub 83bfbf02 51888670

+1 -1
+1 -1
pkgs/development/compilers/llvm/16/compiler-rt/default.nix
··· 121 # Hack around weird upsream RPATH bug 122 postInstall = lib.optionalString (stdenv.hostPlatform.isDarwin) '' 123 ln -s "$out/lib"/*/* "$out/lib" 124 - '' + lib.optionalString (useLLVM && !stdenv.hostPlatform.isWasm) '' 125 ln -s $out/lib/*/clang_rt.crtbegin-*.o $out/lib/crtbegin.o 126 ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtend.o 127 # Note the history of crt{begin,end}S in previous versions of llvm in nixpkg:
··· 121 # Hack around weird upsream RPATH bug 122 postInstall = lib.optionalString (stdenv.hostPlatform.isDarwin) '' 123 ln -s "$out/lib"/*/* "$out/lib" 124 + '' + lib.optionalString (useLLVM && stdenv.hostPlatform.isLinux) '' 125 ln -s $out/lib/*/clang_rt.crtbegin-*.o $out/lib/crtbegin.o 126 ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtend.o 127 # Note the history of crt{begin,end}S in previous versions of llvm in nixpkg: