Skip to content

Commit dc53e4a

Browse files
committed
Revert "EMCC: Minor: Avoid seemingly unnecessary splice of compile_args"
This reverts commit b9530a4.
1 parent 9ba64f9 commit dc53e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

refresh.template.py

Lines changed: 1 addition & 1 deletion
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-
compile_args,
789+
[emcc_driver] + compile_args[1:],
790790
# MIN_PY=3.7: Replace PIPEs with capture_output.
791791
stdout=subprocess.PIPE,
792792
stderr=subprocess.PIPE,

0 commit comments

Comments
 (0)