summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-09-14 14:18:41 +0000
committerLennart Poettering <lennart@poettering.net>2012-09-14 19:06:50 +0200
commitcdefbd6aebc43c89aa1eafacd2edc10b605dfee7 (patch)
tree1d7356dd2ade498e54851e09b3f3059fb6cd6259 /Makefile.am
parent0cd1fd4369685b10953ada832a0b505f5732667d (diff)
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.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions