@@ -905,8 +905,8 @@ def build_env(generator):
905
905
return build_env
906
906
907
907
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 + ')' )
910
910
if CPU_CORES > 1 :
911
911
print ('Performing a parallel build with ' + str (CPU_CORES ) + ' cores.' )
912
912
else :
@@ -1111,7 +1111,7 @@ def build_llvm(tool):
1111
1111
return False
1112
1112
1113
1113
# Make
1114
- success = make_build (build_root , build_type , 'x64' if tool . bitness == 64 else 'Win32' )
1114
+ success = make_build (build_root , build_type )
1115
1115
return success
1116
1116
1117
1117
@@ -1137,7 +1137,7 @@ def build_ninja(tool):
1137
1137
return False
1138
1138
1139
1139
# Make
1140
- success = make_build (build_root , build_type , 'x64' if tool . bitness == 64 else 'Win32' )
1140
+ success = make_build (build_root , build_type )
1141
1141
1142
1142
if success :
1143
1143
bin_dir = os .path .join (root , 'bin' )
@@ -1177,7 +1177,7 @@ def build_ccache(tool):
1177
1177
return False
1178
1178
1179
1179
# Make
1180
- success = make_build (build_root , build_type , 'x64' if tool . bitness == 64 else 'Win32' )
1180
+ success = make_build (build_root , build_type )
1181
1181
1182
1182
if success :
1183
1183
bin_dir = os .path .join (root , 'bin' )
@@ -1337,7 +1337,7 @@ def emscripten_post_install(tool):
1337
1337
return False
1338
1338
1339
1339
# Make
1340
- success = make_build (build_root , build_type , 'x64' if tool . bitness == 64 else 'Win32' )
1340
+ success = make_build (build_root , build_type )
1341
1341
if not success :
1342
1342
return False
1343
1343
@@ -1387,7 +1387,7 @@ def build_binaryen_tool(tool):
1387
1387
return False
1388
1388
1389
1389
# Make
1390
- success = make_build (build_root , build_type , 'x64' if tool . bitness == 64 else 'Win32' )
1390
+ success = make_build (build_root , build_type )
1391
1391
1392
1392
# Deploy scripts needed from source repository to build directory
1393
1393
remove_tree (os .path .join (build_root , 'scripts' ))
0 commit comments