Skip to content
Snippets Groups Projects

Fixed locale environment variables for macOS

Merged Pete requested to merge pete/firmware:fix/build-macosx into master

Build on macOS creates a broken image because /bin/tr observes locale settings for LANG, LC_ALL, LC_CTYPE, LC_COLLATE (according to the tr manpage).

There was a previous fix that sets LANG and LC_CTYPE, but if e.g. LC_ALL is set to en_us.UTF8 the build process still produces a broken image. This fix sets LC_ALL and LC_COLLATE to C as well so a working image is built.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading