qtwebkit: Reduce RAM requirements for linking.

* gnu/packages/qt.scm (qtwebkit)[arguments]: Link shared libraries and
executables with "--no-keep-memory".
This commit is contained in:
Eric Bavier 2018-11-25 22:31:29 -06:00
parent 0995a5692c
commit ebdb15bc35
No known key found for this signature in database
GPG key ID: FD73CAC719D32566

View file

@ -2175,7 +2175,12 @@ (define-public qtwebkit
"-DUSE_SYSTEM_MALLOC=ON" "-DUSE_SYSTEM_MALLOC=ON"
;; XXX: relative dir installs to build dir? ;; XXX: relative dir installs to build dir?
(string-append "-DECM_MKSPECS_INSTALL_DIR=" (string-append "-DECM_MKSPECS_INSTALL_DIR="
%output "/lib/qt5/mkspecs/modules")))) %output "/lib/qt5/mkspecs/modules")
;; Sacrifice a little speed in order to link
;; libraries and test executables in a
;; reasonable amount of memory.
"-DCMAKE_SHARED_LINKER_FLAGS=-Wl,--no-keep-memory"
"-DCMAKE_EXE_LINKER_FLAGS=-Wl,--no-keep-memory")))
(home-page "https://www.webkit.org") (home-page "https://www.webkit.org")
(synopsis "Web browser engine and classes to render and interact with web (synopsis "Web browser engine and classes to render and interact with web
content") content")