summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-15 22:50:56 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-23 21:47:29 -0400
commitfdd147a88e888e14fbd86b522998a8a566d09fd1 (patch)
tree8d5595608be83ad7fd32d1934fc3e70dfc412c53 /tools
parent734005fe75777b5784033ee9ccbed6acd414b30f (diff)
downloadsystemd-fdd147a88e888e14fbd86b522998a8a566d09fd1.tar.gz
meson: add dist-check-includes replacement
This is more-or-less the same as dist-check-includes. meson doesn't exactly make it easy to call a compiler with a custom set of options. The tests are included in the test listing.
Diffstat (limited to 'tools')
-rw-r--r--tools/meson-check-compilation.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/meson-check-compilation.sh b/tools/meson-check-compilation.sh
new file mode 100644
index 0000000000..9bbe54669b
--- /dev/null
+++ b/tools/meson-check-compilation.sh
@@ -0,0 +1,3 @@
+#!/bin/sh -e
+
+"$@" '-' '-c' -o/dev/null </dev/null