From 98c17c14829349d4838186400541a7cd650b64d0 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 7 Aug 2023 16:46:17 -0400 Subject: gnu: qtbase: Avoid retaining a reference to gcc-final. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes . * gnu/packages/qt.scm (qtbase) [configure-flags]: Add the "-DQT_EMBED_TOOLCHAIN_COMPILER=OFF" flag. Reported-by: Ludovic Courtès --- gnu/packages/qt.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index cecd6d13a1..5d7af0d0c8 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -627,6 +627,11 @@ developers using C++ or QML, a CSS & JavaScript like language.") (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" -- cgit v1.2.3