summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Lachnit <stephanlachnit@debian.org>2025-08-26 11:09:26 +0200
committerEli Schwartz <eschwartz93@gmail.com>2025-09-14 21:24:37 -0400
commit078b8d17d4b200aa258f3b68ab33c81450486553 (patch)
tree277ea4fe1d419ef9e1e11091898b1dc24e8bcf20
parent3734ff4bb11e82e59cf66a82288b80db3def83ec (diff)
downloadmeson-078b8d17d4b200aa258f3b68ab33c81450486553.tar.gz
Fix not passing user option args to scan-build build
The option refactor (https://github.com/mesonbuild/meson/pull/14251) required False as argument in order for get_user_option_args to work as intended. This commit removes this argument again. Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
-rw-r--r--mesonbuild/backend/ninjabackend.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index cb97245ec..7413ee39c 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -3799,9 +3799,7 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485'''))
gcda_elem.add_item('description', 'Deleting gcda files')
self.add_build(gcda_elem)
- def get_user_option_args(self, shut_up_pylint: bool = True) -> T.List[str]:
- if shut_up_pylint:
- return []
+ def get_user_option_args(self) -> T.List[str]:
cmds = []
for k, v in self.environment.coredata.optstore.items():
if self.environment.coredata.optstore.is_project_option(k):