aboutsummaryrefslogtreecommitdiff
path: root/extra/meson/files
diff options
context:
space:
mode:
Diffstat (limited to 'extra/meson/files')
-rwxr-xr-xextra/meson/files/cl-meson15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/meson/files/cl-meson b/extra/meson/files/cl-meson
new file mode 100755
index 00000000..b3cebd85
--- /dev/null
+++ b/extra/meson/files/cl-meson
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# Wrapper for meson, we disable all auto features by default, and disable
+# any downloads from subproject wrappers. We want the builds to be as
+# reproducible as possible, and we want to be adding features most of the
+# time instead of removing them.
+
+exec meson setup \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=lib \
+ --sbindir=bin \
+ --buildtype=release \
+ --auto-features=disabled \
+ --wrap-mode=nodownload \
+ "$@"