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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.py

+1-1
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)