aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/macros.meson1
-rw-r--r--mesonbuild/interpreter.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/data/macros.meson b/data/macros.meson
index 05d21e5..73a31ab 100644
--- a/data/macros.meson
+++ b/data/macros.meson
@@ -21,6 +21,7 @@
--sharedstatedir=%{_sharedstatedir} \
--wrap-mode=%{__meson_wrap_mode} \
--auto-features=%{__meson_auto_features} \
+ -Db_ndebug=true \
%{_vpath_srcdir} %{_vpath_builddir} \
%{nil}}
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 654f627..c17298e 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -612,7 +612,7 @@ class Headers(InterpreterObject):
self.sources = sources
self.install_subdir = kwargs.get('subdir', '')
if os.path.isabs(self.install_subdir):
- raise InterpreterException('Subdir keyword must not be an absolute path.')
+ mlog.deprecation('Subdir keyword must not be an absolute path. This will be a hard error in the next release.')
self.custom_install_dir = kwargs.get('install_dir', None)
self.custom_install_mode = kwargs.get('install_mode', None)
if self.custom_install_dir is not None: