[SCM] qtwebengine packaging branch, master, updated. debian/5.7.1+dfsg-4-12-g5b0aeb0

Sandro Knauß hefee at moszumanska.debian.org
Wed Jan 18 12:12:00 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtwebengine.git;a=commitdiff;h=8af76f0

The following commit has been merged in the master branch:
commit 8af76f0e85c749f714dc8e80229edaafb95d72a5
Author: Sandro Knauß <hefee at debian.org>
Date:   Mon Jan 16 21:10:33 2017 +0100

    make build be less ram consuming on some armhf and mipsel
---
 debian/changelog |  1 +
 debian/rules     | 12 +++++++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e414aec..4727bb9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ qtwebengine-opensource-src (5.7.1+dfsg-5~) UNRELEASED; urgency=medium
   * Add -Wl,-z,now to LFAGS, to make build full hardened
   * Add Build-Deps ninja-build
   * Add patch to make armel built
+  * make build be less ram consuming on armhf and mipsel
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Fri, 13 Jan 2017 21:06:56 +0100
 
diff --git a/debian/rules b/debian/rules
index 2d15421..e82ce27 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,8 @@ fulldebug_architectures :=
 disabled_jit_architectures := armel mips mipsel
 disabled_pch_architectures := amd64 powerpc s390x
 
+small_architectures := armhf mipsel
+
 defines+=use_system_expat=1 \
          use_system_ffmpeg=1 \
          use_system_flac=1 \
@@ -108,7 +110,15 @@ endif
 ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(disabled_pch_architectures)))
 	echo "CONFIG -= precompile_header" >> .qmake.conf
 endif
-	
+
+ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(small_architectures)))
+	echo "QMAKE_CXXFLAGS += --param ggc-min-expand=20" >> .qmake.conf
+	echo "QMAKE_CFLAGS += --param ggc-min-expand=20" >> .qmake.conf
+	echo "QMAKE_LFLAGS -= Wl,--gc-sections" >> .qmake.conf
+	echo "QMAKE_LFLAGS -= -use-ld=gold" >> .qmake.conf
+	echo "QMAKE_LFLAGS += -use-ld=bfd" >> .qmake.conf
+endif
+
 	# Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase.
 	echo "QMAKE_LFLAGS += -Wl,--no-keep-memory" >> .qmake.conf
 	

-- 
qtwebengine packaging



More information about the pkg-kde-commits mailing list