path: root/meta
diff options
authorBruce Ashfield <>2011-05-18 16:24:32 (GMT)
committerSaul Wold <>2011-05-20 00:33:50 (GMT)
commit7706d5d844db2725f4118207d90e302679eacdfe (patch)
treeb0ba030d4fcb49f7d5ff1bf3ad37ef72c8354b70 /meta
parent624263c82d1dabb55862a6532a2df2b8a4b541dc (diff)
linux-yocto/meta-yocto: fix gcc 4.6.0 compilation failures
Fixes gcc 4.6.0 compliation issues by importing the upstream change: Author: Michal Marek <> 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, 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 <> Signed-off-by: Michal Marek <> Tested-by: Stephen Rothwell <> Integrated-by: Bruce Ashfield <> :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 <>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions