aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-08-07 16:46:17 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-08-07 23:34:58 -0400
commit98c17c14829349d4838186400541a7cd650b64d0 (patch)
tree205bcee8ee563c73680e67cfdfd7619cbb36e486 /gnu
parent7c3df13f220157d2f432a9daf2a168eb954cbbef (diff)
downloadguix-98c17c14829349d4838186400541a7cd650b64d0.tar.gz
guix-98c17c14829349d4838186400541a7cd650b64d0.zip
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/qt.scm5
1 files changed, 5 insertions, 0 deletions
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"