Skip to content

Commit

Permalink
Set EM_CACHE for emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Mar 16, 2023
1 parent e90802a commit 9cd313e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/ghc/default.nix
Expand Up @@ -296,6 +296,7 @@ stdenv.mkDerivation (rec {
export CC="${targetCC}/bin/emcc"
export CXX="${targetCC}/bin/em++"
export LD="${targetCC}/bin/emcc"
export EM_CACHE=$(mktemp -d)
''
# GHC is a bit confused on its cross terminology, as these would normally be
# the *host* tools.
Expand Down

0 comments on commit 9cd313e

Please sign in to comment.