Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • scripts
  • Kbuild.include
Find file BlameHistoryPermalink
  • Mark Charlebois's avatar
    kbuild, LLVMLinux: Add -Werror to cc-option to support clang · 14635231
    Mark Charlebois authored Mar 31, 2017
    commit c3f0d0bc
    
     upstream.
    
    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: default avatarMark Charlebois <charlebm@gmail.com>
    Signed-off-by: default avatarBehan Webster <behanw@converseincode.com>
    Reviewed-by: default avatarJan-Simon Möller <dl9pf@gmx.de>
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Acked-by: default avatarKees Cook <keescook@chromium.org>
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    Signed-off-by: default avatarNick Desaulniers <ndesaulniers@google.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    14635231
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7