tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
llvmPackages_16.compiler-rt: fix wasi32 build
Randy Eckenrode
2 years ago
71a74151
b3cc6b82
+2
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
compilers
llvm
16
compiler-rt
default.nix
+2
-2
pkgs/development/compilers/llvm/16/compiler-rt/default.nix
···
119
119
'';
120
120
121
121
# Hack around weird upsream RPATH bug
122
122
-
postInstall = lib.optionalString (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isWasm) ''
122
122
+
postInstall = lib.optionalString (stdenv.hostPlatform.isDarwin) ''
123
123
ln -s "$out/lib"/*/* "$out/lib"
124
124
-
'' + lib.optionalString (useLLVM) ''
124
124
+
'' + lib.optionalString (useLLVM && !stdenv.hostPlatform.isWasm) ''
125
125
ln -s $out/lib/*/clang_rt.crtbegin-*.o $out/lib/crtbegin.o
126
126
ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtend.o
127
127
# Note the history of crt{begin,end}S in previous versions of llvm in nixpkg: