This website requires JavaScript.
Explore
Help
Sign In
picnoir
/
Systemd
Watch
1
Star
0
Fork
You've already forked Systemd
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
d5d5e06086
Systemd
/
tools
/
meson-check-compilation.sh
4 lines
47 B
Bash
Raw
Normal View
History
Unescape
Escape
meson: use "sh -eu" and make .sh +x, .py -x Shell scripts should be executable so that meson reports their invocation succinctly (does not print 'sh' '-e'). Python scripts should not be executable so that meson does the detection of the right python binary itself. Add -u everywhere to catch potential errors.
2017-04-18 23:14:48 +02:00
#!/bin/sh -eu
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.
2017-04-16 04:50:56 +02:00
meson: fix checking of linker args Previous checks did nothing, because cc.has_argument only does compilation, without any linking. Unfortunately cc.links() cannot be used, because it does not accept any options. Providing the test file as a static source is easiest, even if not every elegant. https://github.com/mesonbuild/meson/issues/1676
2017-04-25 03:03:35 +02:00
"
$@
"
'-'
-o/dev/null </dev/null
Reference in a new issue
Copy permalink