Skip to content

Commit

Permalink
Remove implicit emcc flags. (#1445)
Browse files Browse the repository at this point in the history
  • Loading branch information
philass authored Aug 15, 2021
1 parent 1db4aea commit a221e40
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Futhark/Actions.hs
Original file line number Diff line number Diff line change
Expand Up @@ -334,14 +334,7 @@ runEMCC cpath outpath classpath cflags_def ldflags expfuns lib = do
++ ["-lnodefs.js"]
++ ["-s", "--extern-post-js", classpath]
++ ( if lib
then
[ "-s",
"EXPORT_NAME=loadWASM",
"-s",
"MODULARIZE=1",
"-s",
"EXPORT_ES6=1"
]
then ["-s", "EXPORT_NAME=loadWASM"]
else []
)
++ ["-s", "WASM_BIGINT"]
Expand Down

0 comments on commit a221e40

Please sign in to comment.