kmod/m4
Lucas De Marchi 7812d88c95 build-sys: Append -Werror when testing flags
Clang doesn'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 11:37:29 -03:00
..
.gitignore doc: add gtk-doc to generate documentation 2012-01-09 05:28:57 -02:00
attributes.m4 build-sys: Append -Werror when testing flags 2012-09-14 11:37:29 -03:00