]> git.ipfire.org Git - thirdparty/systemd.git/commit
build: make sure to test for -Wflag instead of -Wno-flag
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 24 Feb 2015 16:49:48 +0000 (17:49 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 24 Feb 2015 16:49:48 +0000 (17:49 +0100)
commit43bbf1acc8202de895e5449828a7b863c69fcc2f
tree2956c196c1c970491c58fed4afe74c29d571cf69
parent72c3897f77a7352618ea76b880a6764f52d6327b
build: make sure to test for -Wflag instead of -Wno-flag

gcc does not support testing for negated warnings. See here for details:
    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63499

This patch changes CC_CHECK_FLAG_APPEND to always test for the non-negated
warnings.
m4/attributes.m4