File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -470,7 +470,6 @@ if(EMSCRIPTEN)
470
470
target_link_libraries (binaryen_wasm "-msign-ext" )
471
471
target_link_libraries (binaryen_wasm "-mbulk-memory" )
472
472
target_link_libraries (binaryen_wasm optimized "--closure=1" )
473
- target_link_libraries (binaryen_wasm optimized "--closure-args=\" --language_in=ECMASCRIPT6 --language_out=ECMASCRIPT6\" " )
474
473
# TODO: Fix closure warnings! (#5062)
475
474
target_link_libraries (binaryen_wasm optimized "-Wno-error=closure" )
476
475
target_link_libraries (binaryen_wasm optimized "-flto" )
@@ -513,9 +512,7 @@ if(EMSCRIPTEN)
513
512
target_link_libraries (binaryen_js optimized "--closure=1" )
514
513
# Currently, js_of_ocaml can only process ES5 code
515
514
if (JS_OF_OCAML)
516
- target_link_libraries (binaryen_js optimized "--closure-args=\" --language_in=ECMASCRIPT6 --language_out=ECMASCRIPT5\" " )
517
- else ()
518
- target_link_libraries (binaryen_js optimized "--closure-args=\" --language_in=ECMASCRIPT6 --language_out=ECMASCRIPT6\" " )
515
+ target_link_libraries (binaryen_js optimized "--closure-args=\" --language_out=ECMASCRIPT5\" " )
519
516
endif ()
520
517
# TODO: Fix closure warnings! (#5062)
521
518
target_link_libraries (binaryen_js optimized "-Wno-error=closure" )
You can’t perform that action at this time.
0 commit comments