lkml.org 
[lkml]   [2017]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] kbuild, LLVMLinux: Add -Werror to cc-option to support clang
    2017-04-01 5:38 GMT+09:00 Arnd Bergmann <arnd@arndb.de>:
    > From: Mark Charlebois <charlebm@gmail.com>
    >
    > Clang will warn about unknown warnings but will not return false
    > unless -Werror is set. GCC will return false if an unknown
    > warning is passed.
    >
    > Adding -Werror make both compiler behave the same.
    >
    > [arnd: it turns out we need the same patch for testing whether -ffunction-sections
    > works right with gcc. I've build tested extensively with this patch
    > applied, so let's just merge this one now.]
    >
    > Signed-off-by: Mark Charlebois <charlebm@gmail.com>
    > Signed-off-by: Behan Webster <behanw@converseincode.com>
    > Reviewed-by: Jan-Simon Möller <dl9pf@gmx.de>
    > Signed-off-by: Arnd Bergmann <arnd@arndb.de>

    Applied to linux-kbuild/kbuild.
    Thanks!




    --
    Best Regards
    Masahiro Yamada

    \
     
     \ /
      Last update: 2017-04-11 21:39    [W:8.510 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site