mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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}"
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user