]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
Revert "meson: use c_args in generator scripts (#10289)"
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 11 Oct 2018 13:12:41 +0000 (15:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Oct 2018 15:22:40 +0000 (17:22 +0200)
commit0e3cc902faec4f18d5fa606396f602b08bc94e27
tree26460bf6f872f30c6ce70bfee441e4b55ffa5a05
parent9cebb234b187b468a1d7165e4505403386b45226
Revert "meson: use c_args in generator scripts (#10289)"

This reverts commit 56f56d5ad856d9bd1070693490b210e0a0ccde92.

This broke the compilation for coverity under travis. Our build script does
something like this:

$ CFLAGS='-D_Float128=long\ double -D_Float64=double -D_Float64x=long\ double -D_Float32=float -D_Float32x=double' meson cov-build -Dman=false
$ ninja -C build
...
[pid 27096] execve("/usr/bin/cc", ["/usr/bin/cc", "-D_Float128=long", "double", "-D_Float64=double", "-D_Float64x=long", "double", "-D_Float32=float", "-D_Float32x=double", "-E", "-dM", "-include", "linux/capability.h", "-include", "config.h", "-include", "../src/basic/missing.h", "-"], 0x55ab75ea4e80 /* 91 vars */) = 0
cc: error: double: No such file or directory
cc: error: double: No such file or directory
[pid 27096] +++ exited with 1 +++

I'm sure this could be fixed somehow, but since the original motivation for
56f56d5ad856d9bd1070693490b210e0a0ccde92 wasn't very strong, let's just revert
it as this seems to be the simplest solution.
meson.build