diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-01-02 14:41:15 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-01-02 15:04:49 (EST) |
commit | 8849a5a9c038cd707b68b0aecbcaa05a4ab594b4 (patch) | |
tree | 289b57e4a0d7aa480847f8664ad7f35aada3d5bf | |
parent | 8078cbb57602ba24cf3a6e0f8896e762b42757b8 (diff) |
ob-buildenv: Set LC_ALL='C'
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/ob-buildenv.sh | 1 | ||||
-rwxr-xr-x | tests/exe/ob-buildenv.sh | 1 |
3 files changed, 3 insertions, 1 deletions
@@ -9,7 +9,7 @@ Utilities: and "data.tar.gz" files after compression rather than before, because BusyBox's gzip doesn't preserve modification times. * ob-buildenv now adds "-ffile-prefix-map" options to CFLAGS and - CXXFLAGS. + CXXFLAGS. It also now sets "LC_ALL='C'". * ob-gencontrol now reduces and normalizes binary package dependencies after substituting variables. Otherwise, substitution variables may contain dependency restrictions or newline characters that are diff --git a/src/ob-buildenv.sh b/src/ob-buildenv.sh index 0bbfdbb..c6e0c8b 100644 --- a/src/ob-buildenv.sh +++ b/src/ob-buildenv.sh @@ -88,6 +88,7 @@ setup_build_flags() "-ffile-prefix-map=${PWD}=." printf "CXXFLAGS='%s %s'\\n" "${CXXFLAGS:-}" \ "-ffile-prefix-map=${PWD}=." + printf "LC_ALL='C'\\n" return 0 } diff --git a/tests/exe/ob-buildenv.sh b/tests/exe/ob-buildenv.sh index f4724ad..463f432 100755 --- a/tests/exe/ob-buildenv.sh +++ b/tests/exe/ob-buildenv.sh @@ -43,4 +43,5 @@ cmd_is 'ob-buildenv' ob-buildenv <<-EOF OPK_TOOL_PREFIX='i686-linux-glibc-' CFLAGS=' -ffile-prefix-map=${PWD}=.' CXXFLAGS=' -ffile-prefix-map=${PWD}=.' + LC_ALL='C' EOF |