diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2011-05-18 12:07:44 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-19 23:30:01 +0100 |
commit | 1d4c9412fb8226f882ef68223c9c5ec08cc2f5cc (patch) | |
tree | 84f0daf12d215eb2eab5e6e8697747dbfcdcd59b /meta/recipes-extended/which | |
parent | e302ca03f8946446300d418106b3fa509c301564 (diff) | |
download | openembedded-core-1d4c9412fb8226f882ef68223c9c5ec08cc2f5cc.tar.gz openembedded-core-1d4c9412fb8226f882ef68223c9c5ec08cc2f5cc.tar.bz2 openembedded-core-1d4c9412fb8226f882ef68223c9c5ec08cc2f5cc.tar.xz openembedded-core-1d4c9412fb8226f882ef68223c9c5ec08cc2f5cc.zip |
linux-yocto: fix gcc 4.6.0 compilation failures
Fixes bug: [YOCTO #1035]
Fixes bug: [YOCTO #1036]
Fixes gcc 4.6.0 compliation issues by importing the upstream change:
Author: Michal Marek <mmarek@suse.cz>
Date: Mon May 2 12:13:01 2011 +0000
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-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Integrated-by: Bruce Ashfield <bruce.ashfield@windriver.com>
:100644 100644 0ef00bd... 1d8e7e9... M Documentation/kbuild/makefiles.txt
:100644 100644 7bd863e0.. 74bac80... M Makefile
:100644 100644 ed2773e... ba25c44... M scripts/Kbuild.include
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta/recipes-extended/which')
0 files changed, 0 insertions, 0 deletions