emscriptenfastcomp-wrapped: disable hardening
The hardening flags break webassembly generation, at least in some cases.
This commit is contained in:
parent
d30a17bc2c
commit
ad507954fa
@ -1546,7 +1546,10 @@ in
|
||||
emscripten = callPackage ../development/compilers/emscripten { };
|
||||
|
||||
emscriptenfastcomp-unwrapped = callPackage ../development/compilers/emscripten-fastcomp { };
|
||||
emscriptenfastcomp-wrapped = wrapCC emscriptenfastcomp-unwrapped;
|
||||
emscriptenfastcomp-wrapped = wrapCCWith ccWrapperFun stdenv.cc.libc ''
|
||||
# hardening flags break WASM support
|
||||
cat > $out/nix-support/add-hardening.sh
|
||||
'' emscriptenfastcomp-unwrapped;
|
||||
emscriptenfastcomp = symlinkJoin {
|
||||
name = "emscriptenfastcomp";
|
||||
paths = [ emscriptenfastcomp-wrapped emscriptenfastcomp-unwrapped ];
|
||||
|
Loading…
Reference in New Issue
Block a user