pgo: full-inner: do not set LC_CTYPE=en_US.UTF-8

That locale may not exist. Instead, require the user/build script to
explicitly set an UTF-8 locale.

Document this in INSTALL.md, and in the bundled PKGBUILD.
This commit is contained in:
Daniel Eklöf 2021-10-02 14:43:02 +02:00
parent 9b0fb39951
commit 9389f337d0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 41 additions and 5 deletions

View file

@ -15,10 +15,10 @@ rm -f "${blddir}"/pgo-ok
# To ensure profiling data is generated in the build directory
cd "${blddir}"
LC_CTYPE=en_US.UTF-8 "${blddir}"/footclient --version
LC_CTYPE=en_US.UTF-8 "${blddir}"/foot \
--config=/dev/null \
--term=xterm \
"${blddir}"/footclient --version
"${blddir}"/foot \
--config=/dev/null \
--term=xterm \
sh -c "
set -eux