Skip to content

Commit 6cb940a

Browse files
authored
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 d335487 commit 6cb940a

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
@@ -2253,7 +2253,7 @@ def make_bin_override():
22532253
gyp_args += ['-Dpython=' + python]
22542254

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

0 commit comments

Comments
 (0)