kernel-hacking-2024-linux-s.../Documentation/kbuild
Michal Marek 8417da6f21 kbuild: Fix passing -Wno-* options to gcc 4.4+
Starting with 4.4, gcc will happily accept -Wno-<anything> in the
cc-option test and complain later when compiling a file that has some
other warning. This rather unexpected behavior is intentional as per
http://gcc.gnu.org/PR28322, so work around it by testing for support of
the opposite option (without the no-). Introduce a new Makefile function
cc-disable-warning that does this and update two uses of cc-option in
the toplevel Makefile.

Reported-and-tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2011-05-03 10:50:54 +02:00
..
00-INDEX
kbuild.txt initramfs: Use KBUILD_BUILD_TIMESTAMP for generated entries 2011-04-18 14:27:52 +02:00
kconfig-language.txt Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-01-10 08:29:25 -08:00
kconfig.txt Merge commit 'v2.6.35' into kbuild/kconfig 2010-08-04 14:05:07 +02:00
makefiles.txt kbuild: Fix passing -Wno-* options to gcc 4.4+ 2011-05-03 10:50:54 +02:00
modules.txt Documentation/kbuild: modules.txt cleanup 2010-10-05 18:44:39 +02:00