summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/iceweasel/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD
index a20ebd04e..d6c806171 100644
--- a/libre/iceweasel/PKGBUILD
+++ b/libre/iceweasel/PKGBUILD
@@ -246,6 +246,13 @@ ac_add_options --disable-eme
END
+ # FIXME: FTBS with cbindgen > 0.23
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1773259
+ if [[ "${CARCH}" != i686 ]] # cbindgen i686 is currrently 0.23
+ then sed -i '/const uint64_t ROOT_CLIP_CHAIN = ~0;/d' gfx/webrender_bindings/webrender_ffi.h
+ fi
+
+
## [ARCH-SPECIFIC CONFIG] ##
case ${CARCH} in
@@ -514,6 +521,9 @@ build() {
armv7h)
;;
i686)
+ # /usr/bin/ld.bfd: error: libxul.so(.debug_info) is too large (0x54c5369a bytes)
+ options=( ${options[*]/\!strip/} )
+
# avoid excessive debug symbols in rust leading to out-of-memory situations
sed -i "s/debug_info = '\''2'\''/debug_info = '\''0'\''/" build/moz.configure/toolchain.configure
;;