This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository pale-moon. commit 17886f8f628d9051748d460788f79b326d71051b Author: Mihai Moldovan <ionic@ionic.de> Date: Mon May 28 23:00:30 2018 +0200 debian/rules: add (more) LDFLAGS overrides from Debian's firefox(-esr) package. --- debian/changelog | 1 + debian/rules | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/debian/changelog b/debian/changelog index f1f10d9..194f74f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,7 @@ palemoon (27.9.2~repack-1-0x2go1) obs; urgency=medium - Add dh_testdir protection. Debian's firefox(-esr) package uses it. - Add *FLAGS and DEB_ variable overrides/definitions from Debian's firefox(-esr) package. + - Add (more) LDFLAGS overrides from Debian's firefox(-esr) package. -- Mihai Moldovan <ionic@ionic.de> Mon, 28 May 2018 03:44:10 +0200 diff --git a/debian/rules b/debian/rules index 4c4d846..54bf658 100755 --- a/debian/rules +++ b/debian/rules @@ -18,6 +18,16 @@ $(call lazy,DEB_BUILD_ARCH_ENDIAN,$$(shell dpkg-architecture -qDEB_BUILD_ARCH_EN export SHELL=/bin/bash +LDFLAGS := -Wl,--as-needed + +# Reduce memory usage of the linker at the expense of processing time +# This should help on lower-end architectures like arm and mips, which +# spend an immense amount of time swapping. +LDFLAGS += -Wl,--reduce-memory-overheads +LDFLAGS += -Wl,--no-keep-memory +# Also add execution time and memory usage stats in the logs +LDFLAGS += -Wl,--stats + # Build with gcc-4.9 on Stretch, Buster,Xenial, Yakkety, Zesty, and Horizon. distrelease := $(shell lsb_release -cs) ifeq ($(distrelease),$(filter $(distrelease),stretch buster xenial yakkety \ -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git