1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-25 23:21:33 +03:00
systemd-stable/m4
Lucas De Marchi cdefbd6aeb build-sys: Append -Werror when testing flags
Clang don't treat unknown warnings flags as an error, but rather as a
warning. The result is that the detection for whic CFLAGS are supported
by this compiler will not work, since the compilation will succeed.

With this patch we now successfully detect clang doesn't support
-Wlogical-op, as opposed to previous behavior:

	checking if clang supports flag -Wlogical-op in envvar CFLAGS... no

We use this macro only for LDFLAGS and CFLAGS, so it's safe to stash
-Werror there.
2012-09-14 19:06:50 +02:00
..
.gitignore move imported udev into place 2012-04-04 05:05:07 +02:00
acx_libwrap.m4 build-sys: fix AC_COMPILE_IFELSE tests 2011-02-08 12:11:53 +01:00
attributes.m4 build-sys: Append -Werror when testing flags 2012-09-14 19:06:50 +02:00