summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-19 14:39:08 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-19 14:39:08 +0100
commitfc7e841956ae3cc385629bf33433de23a6d04db6 (patch)
tree48882d11ff725a7df862343487d339fdaae1c604 /eclass
parentdbb637a643576bbb9286907cd6c73e3cda3ca1f6 (diff)
gentoo auto-resync : 19:07:2022 - 14:39:08
Diffstat (limited to 'eclass')
-rw-r--r--eclass/Manifest.gzbin36634 -> 36632 bytes
-rw-r--r--eclass/mozcoreconf-v6.eclass15
2 files changed, 10 insertions, 5 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz
index 1f2c535031f7..8a3347487f86 100644
--- a/eclass/Manifest.gz
+++ b/eclass/Manifest.gz
Binary files differ
diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 8cea230a959c..2d94be6baee4 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -78,10 +78,10 @@ mozconfig_use_with() {
moz_pkgsetup() {
# Ensure we use C locale when building
- export LANG="C"
- export LC_ALL="C"
- export LC_MESSAGES="C"
- export LC_CTYPE="C"
+ export LANG="C.UTF-8"
+ export LC_ALL="C.UTF-8"
+ export LC_MESSAGES="C.UTF-8"
+ export LC_CTYPE="C.UTF-8"
# Ensure we use correct toolchain
export HOST_CC="$(tc-getBUILD_CC)"
@@ -195,8 +195,13 @@ mozconfig_init() {
# Strip optimization so it does not end up in compile string
filter-flags '-O*'
+ # elf-hack is broken on x86 and disabled by default.
if is-flagq '-g*' ; then
- mozconfig_annotate 'elf-hack broken with -g* flags' --disable-elf-hack
+ case "${ARCH}" in
+ amd64 | arm)
+ mozconfig_annotate 'elf-hack is broken with -g* flags' --disable-elf-hack
+ ;;
+ esac
fi
# Strip over-aggressive CFLAGS