1 |
commit: e3a8e2f78e1f829ce0192d57da6aa9a9b44efeec |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 5 15:38:17 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 5 15:40:30 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3a8e2f7 |
7 |
|
8 |
www-client/firefox: disable jemalloc for !elibc_glibc |
9 |
|
10 |
Closes: https://bugs.gentoo.org/746554 |
11 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
www-client/firefox/firefox-78.3.1.ebuild | 4 ++++ |
15 |
www-client/firefox/firefox-81.0.1.ebuild | 4 ++++ |
16 |
2 files changed, 8 insertions(+) |
17 |
|
18 |
diff --git a/www-client/firefox/firefox-78.3.1.ebuild b/www-client/firefox/firefox-78.3.1.ebuild |
19 |
index af2a9e59b72..5bb47ac3381 100644 |
20 |
--- a/www-client/firefox/firefox-78.3.1.ebuild |
21 |
+++ b/www-client/firefox/firefox-78.3.1.ebuild |
22 |
@@ -739,6 +739,10 @@ src_configure() { |
23 |
;; |
24 |
esac |
25 |
|
26 |
+ if ! use elibc_glibc ; then |
27 |
+ mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc |
28 |
+ fi |
29 |
+ |
30 |
# Allow elfhack to work in combination with unstripped binaries |
31 |
# when they would normally be larger than 2GiB. |
32 |
append-ldflags "-Wl,--compress-debug-sections=zlib" |
33 |
|
34 |
diff --git a/www-client/firefox/firefox-81.0.1.ebuild b/www-client/firefox/firefox-81.0.1.ebuild |
35 |
index b73b187b80c..51c6d764b99 100644 |
36 |
--- a/www-client/firefox/firefox-81.0.1.ebuild |
37 |
+++ b/www-client/firefox/firefox-81.0.1.ebuild |
38 |
@@ -739,6 +739,10 @@ src_configure() { |
39 |
;; |
40 |
esac |
41 |
|
42 |
+ if ! use elibc_glibc ; then |
43 |
+ mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc |
44 |
+ fi |
45 |
+ |
46 |
# Allow elfhack to work in combination with unstripped binaries |
47 |
# when they would normally be larger than 2GiB. |
48 |
append-ldflags "-Wl,--compress-debug-sections=zlib" |