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 <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 70bbc02 commit 1a3ccba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)