aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/optinterpreter.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-07-15 22:02:27 +0300
committerDylan Baker <dylan@pnwbakers.com>2019-07-15 14:13:55 -0700
commitd7a682fdede536dd95f76425ac9e06faf334199c (patch)
treef16b7caf912ce3e7ad151b36a699c3a685ec1306 /mesonbuild/optinterpreter.py
parent451a32d1c822ea28658242e03c6db3021df274ac (diff)
downloadmeson-d7a682fdede536dd95f76425ac9e06faf334199c.zip
meson-d7a682fdede536dd95f76425ac9e06faf334199c.tar.gz
meson-d7a682fdede536dd95f76425ac9e06faf334199c.tar.bz2
No need to reserve build_ because we use build. instead.
Diffstat (limited to 'mesonbuild/optinterpreter.py')
-rw-r--r--mesonbuild/optinterpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/optinterpreter.py b/mesonbuild/optinterpreter.py
index 1d0533e..8feb4f3 100644
--- a/mesonbuild/optinterpreter.py
+++ b/mesonbuild/optinterpreter.py
@@ -23,7 +23,7 @@ from . import compilers
forbidden_option_names = set(coredata.builtin_options.keys())
forbidden_prefixes = [lang + '_' for lang in compilers.all_languages] + ['b_', 'backend_']
-reserved_prefixes = ['cross_', 'build_']
+reserved_prefixes = ['cross_']
def is_invalid_name(name: str, *, log: bool = True) -> bool:
if name in forbidden_option_names: