sys-devel/dwz: fix compilation on different locales

otherwise "readelf | grep" will return nothing for non-ascii locales

Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40308
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Z. Liu
2025-01-26 09:21:15 +08:00
committed by Sam James
parent cf6cbdece2
commit 9df9fcfa40
3 changed files with 6 additions and 0 deletions

View File

@@ -41,6 +41,8 @@ src_prepare() {
}
src_compile() {
export LANG=C LC_ALL=C # grep find nothing for non-ascii locales
emake CFLAGS="${CFLAGS}" srcdir="${S}"
}

View File

@@ -52,6 +52,8 @@ src_prepare() {
}
src_compile() {
export LANG=C LC_ALL=C # grep find nothing for non-ascii locales
tc-export PKG_CONFIG
export LIBS="-lelf"

View File

@@ -41,6 +41,8 @@ src_prepare() {
}
src_compile() {
export LANG=C LC_ALL=C # grep find nothing for non-ascii locales
emake CFLAGS="${CFLAGS}" srcdir="${S}"
}