summaryrefslogtreecommitdiff
path: root/gnu/packages/qt.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-05 17:39:39 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-12-06 08:01:51 +0200
commit1cd2f0322556a165dac55f01f8198f297285543b (patch)
tree7b87caea59431663a8448200382cf9fdd9c3e5b8 /gnu/packages/qt.scm
parent0aee90e4eaa5ecf27ad3acdcbfb53d3fc2c60112 (diff)
gnu: qtwebengine-5: Enable building on i686-linux.
* gnu/packages/qt.scm (qtwebengine-5)[arguments]: When building for i686-linux add a configure-flag to use less memory during the linking phase. Change-Id: Ie27467445f2bc299314b1294b024d3cfdc6f0b44
Diffstat (limited to 'gnu/packages/qt.scm')
-rw-r--r--gnu/packages/qt.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 7ec4526492..ff5da5647e 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2954,7 +2954,12 @@ linux/libcurl_wrapper.h")
(lambda _
;; Valid QT_BUILD_PARTS variables are:
;; libs tools tests examples demos docs translations
- (invoke "qmake" "QT_BUILD_PARTS = libs tools" "--"
+ (invoke "qmake"
+ #$@(if (target-x86-32?)
+ ;; Don't exhaust memory while linking.
+ #~("QMAKE_LFLAGS+=-Wl,--no-keep-memory -Wl,-z,now")
+ #~())
+ "QT_BUILD_PARTS = libs tools" "--"
"--webengine-printing-and-pdf=no"
"--webengine-ffmpeg=system"
;; FIXME: Building qtwebengine-5 5.12.2 with