aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-04-05 09:23:51 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-04-05 09:26:42 -0700
commit5ce0d9fbbb7c2e009d179c77c6904326fe569fb3 (patch)
tree04d185c6a0670093c294ecf86b6097f1bf1afe7d
parent068c3bf60ab04b7803b3bbe57f069a412d9186d3 (diff)
downloadmeson-5ce0d9fbbb7c2e009d179c77c6904326fe569fb3.zip
meson-5ce0d9fbbb7c2e009d179c77c6904326fe569fb3.tar.gz
meson-5ce0d9fbbb7c2e009d179c77c6904326fe569fb3.tar.bz2
coredata: Don't log warnings about reserved prefixes
-rw-r--r--mesonbuild/coredata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py
index fc2ab88..2666bb9 100644
--- a/mesonbuild/coredata.py
+++ b/mesonbuild/coredata.py
@@ -493,7 +493,7 @@ class CoreData:
from . import optinterpreter
for k, v in default_options.items():
if subproject:
- if optinterpreter.is_invalid_name(k):
+ if optinterpreter.is_invalid_name(k, log=False):
continue
k = subproject + ':' + k
env.cmd_line_options.setdefault(k, v)
@@ -511,7 +511,7 @@ class CoreData:
elif k not in builtin_options:
if ':' in k:
continue
- if optinterpreter.is_invalid_name(k):
+ if optinterpreter.is_invalid_name(k, log=False):
continue
options[k] = v