gnu: qtbase: Avoid retaining a reference to gcc-final.

Fixes <https://issues.guix.gnu.org/63948>.

* gnu/packages/qt.scm (qtbase) [configure-flags]: Add the
"-DQT_EMBED_TOOLCHAIN_COMPILER=OFF" flag.

Reported-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Maxim Cournoyer 2023-08-07 16:46:17 -04:00
parent 7c3df13f22
commit 98c17c1482
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -627,6 +627,11 @@ (define-public qtbase
(string-append "-DINSTALL_EXAMPLESDIR=" out
"/share/doc/qt6/examples")
(string-append "-DINSTALL_INCLUDEDIR=" out "/include/qt6")
;; Do not embed an absolute reference to compilers, to reduce
;; the closure size.
"-DQT_EMBED_TOOLCHAIN_COMPILER=OFF"
;; Link with DBus and OpenSSL so they don't get dlopen'ed.
"-DINPUT_dbus=linked"
"-DINPUT_openssl=linked"