]> git.ipfire.org Git - thirdparty/kmod.git/commit
from systemd: 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)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 25 Feb 2015 01:45:17 +0000 (22:45 -0300)
commit29ad07504badce1327007185a0efdae4a4509d69
tree9aaa476f1190d32cee17516d5f00c27ac59d1bce
parenta8f3aaebbe3cc39dc23f48d45865efa747b80ffa
from systemd: 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