Skip to content

Commit

Permalink
build: only generate specified build type files
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
legendecas authored and pull[bot] committed Nov 16, 2024
1 parent 84c6c67 commit 834d879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -2253,7 +2253,7 @@ def make_bin_override():
gyp_args += ['-Dpython=' + python]

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

0 comments on commit 834d879

Please sign in to comment.