Skip to content

Commit 90b4a16

Browse files
authored
Remove unused build_target_platform parameter from make_build (#1187)
1 parent 7bcf144 commit 90b4a16

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

emsdk.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -905,8 +905,8 @@ def build_env(generator):
905905
return build_env
906906

907907

908-
def make_build(build_root, build_type, build_target_platform='x64'):
909-
debug_print('make_build(build_root=' + build_root + ', build_type=' + build_type + ', build_target_platform=' + build_target_platform + ')')
908+
def make_build(build_root, build_type):
909+
debug_print('make_build(build_root=' + build_root + ', build_type=' + build_type + ')')
910910
if CPU_CORES > 1:
911911
print('Performing a parallel build with ' + str(CPU_CORES) + ' cores.')
912912
else:
@@ -1111,7 +1111,7 @@ def build_llvm(tool):
11111111
return False
11121112

11131113
# Make
1114-
success = make_build(build_root, build_type, 'x64' if tool.bitness == 64 else 'Win32')
1114+
success = make_build(build_root, build_type)
11151115
return success
11161116

11171117

@@ -1137,7 +1137,7 @@ def build_ninja(tool):
11371137
return False
11381138

11391139
# Make
1140-
success = make_build(build_root, build_type, 'x64' if tool.bitness == 64 else 'Win32')
1140+
success = make_build(build_root, build_type)
11411141

11421142
if success:
11431143
bin_dir = os.path.join(root, 'bin')
@@ -1177,7 +1177,7 @@ def build_ccache(tool):
11771177
return False
11781178

11791179
# Make
1180-
success = make_build(build_root, build_type, 'x64' if tool.bitness == 64 else 'Win32')
1180+
success = make_build(build_root, build_type)
11811181

11821182
if success:
11831183
bin_dir = os.path.join(root, 'bin')
@@ -1337,7 +1337,7 @@ def emscripten_post_install(tool):
13371337
return False
13381338

13391339
# Make
1340-
success = make_build(build_root, build_type, 'x64' if tool.bitness == 64 else 'Win32')
1340+
success = make_build(build_root, build_type)
13411341
if not success:
13421342
return False
13431343

@@ -1387,7 +1387,7 @@ def build_binaryen_tool(tool):
13871387
return False
13881388

13891389
# Make
1390-
success = make_build(build_root, build_type, 'x64' if tool.bitness == 64 else 'Win32')
1390+
success = make_build(build_root, build_type)
13911391

13921392
# Deploy scripts needed from source repository to build directory
13931393
remove_tree(os.path.join(build_root, 'scripts'))

0 commit comments

Comments
 (0)