diff options
author | Myckel Habets <gentoo-bugs@habets-dobben.nl> | 2022-07-19 09:32:15 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-07-19 13:43:50 +0300 |
commit | 54ea5246931a0275959be163480e9e1e5987a83f (patch) | |
tree | e7621b55df23cfa37d404e98300475f20dbee3e3 /eclass/mozcoreconf-v6.eclass | |
parent | www-client/seamonkey: add seamonkey-2.53.13 (diff) | |
download | gentoo-54ea5246931a0275959be163480e9e1e5987a83f.tar.gz gentoo-54ea5246931a0275959be163480e9e1e5987a83f.tar.bz2 gentoo-54ea5246931a0275959be163480e9e1e5987a83f.zip |
www-client/seamonkey: enhancements to 2.53.13
- eclass/mozcoreconf-v6.eclass: Change LANG and LC_* exports from "C" to "C.UTF-8" due to
ascii/unicode-related build issues with seamonkey's build system.
- eclass/mozcoreconf-v6.eclass: Work around lack of --disable-elf-hack handling on PPC64.
- Drop crypt USE flag, due to retirement of x11-plugins/enigmail.
- Drop debug USE flag, due to being unused and broken in upstream.
Signed-off-by: Myckel Habets <gentoo-bugs@habets-dobben.nl>
Closes: https://github.com/gentoo/gentoo/pull/26472
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'eclass/mozcoreconf-v6.eclass')
-rw-r--r-- | eclass/mozcoreconf-v6.eclass | 15 |
1 files changed, 10 insertions, 5 deletions
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 |