Skip to content

Commit b9530a4

Browse files
committed
EMCC: Minor: Avoid seemingly unnecessary splice of compile_args
@kon72, if I've missed something here, please just revert
1 parent 9578816 commit b9530a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

refresh.template.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ def get_workspace_root(path_from_execroot: pathlib.PurePath):
786786

787787
# We run the emcc process with the environment variable EM_COMPILER_WRAPPER to intercept the command line arguments passed to `clang`.
788788
emcc_process = subprocess.run(
789-
[emcc_driver] + compile_args[1:],
789+
compile_args,
790790
# MIN_PY=3.7: Replace PIPEs with capture_output.
791791
stdout=subprocess.PIPE,
792792
stderr=subprocess.PIPE,

0 commit comments

Comments
 (0)