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
  • linux
  • scripts
  • setlocalversion
Find file BlameHistoryPermalink
  • Masahiro Yamada's avatar
    kbuild: replace LANG=C with LC_ALL=C · 77a88274
    Masahiro Yamada authored Apr 30, 2021
    LANG gives a weak default to each LC_* in case it is not explicitly
    defined. LC_ALL, if set, overrides all other LC_* variables.
    
      LANG  <  LC_CTYPE, LC_COLLATE, LC_MONETARY, LC_NUMERIC, ...  <  LC_ALL
    
    This is why documentation such as [1] suggests to set LC_ALL in build
    scripts to get the deterministic result.
    
    LANG=C is not strong enough to override LC_* that may be set by end
    users.
    
    [1]: https://reproducible-builds.org/docs/locales/
    
    
    
    Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
    Reviewed-by: default avatarMatthias Maennich <maennich@google.com>
    Acked-by: Matthieu Baerts <matthieu.baerts@tessares.net> (mptcp)
    Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    77a88274
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7