Skip to content

Commit 1a3ccba

Browse files
legendecastargos
authored andcommitted
build: only generate specified build type files
Release and Debug build configurations can not be shared, only generate specified configuration in `configure`. PR-URL: #53511 Fixes: #53446 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
1 parent 70bbc02 commit 1a3ccba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2254,7 +2254,7 @@ def make_bin_override():
22542254
gyp_args += ['-Dpython=' + python]
22552255

22562256
if options.use_ninja:
2257-
gyp_args += ['-f', 'ninja-' + flavor]
2257+
gyp_args += ['-f', 'ninja-' + flavor, '-G', 'config=' + config['BUILDTYPE']]
22582258
elif flavor == 'win' and sys.platform != 'msys':
22592259
gyp_args += ['-f', 'msvs', '-G', 'msvs_version=auto']
22602260
else:

0 commit comments

Comments
 (0)