gnu: qtwebkit: Remove workaround for binutils bug.

This is a follow-up to de8e2a699c.

* gnu/packages/qt.scm (qtwebkit)[arguments]: Remove custom 'build' phase.
This commit is contained in:
Guillaume Le Vaillant 2021-09-08 09:25:50 +02:00
parent 4ccaaad45d
commit 3ed18c05e9
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -2733,19 +2733,7 @@ (define-public qtwebkit
;; 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")
#:phases
(modify-phases %standard-phases
(replace 'build
;; This is a workaround for the build failing with the error:
;; ld: error adding symbols: Malformed archive
;; Increasing the maximum number of open file descriptors
;; makes the build succeed.
(lambda* (#:key make-flags #:allow-other-keys)
(let ((cmd (format #f
"ulimit -n 4096; make ~{~a~^ ~}"
make-flags)))
(invoke "sh" "-c" cmd)))))))
"-DCMAKE_EXE_LINKER_FLAGS=-Wl,--no-keep-memory")))
(home-page "https://www.webkit.org")
(synopsis "Web browser engine and classes to render and interact with web
content")