guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 02/02: gnu: qtbase: Avoid retaining a reference to gcc-final.
Date: Mon, 7 Aug 2023 23:36:51 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 98c17c14829349d4838186400541a7cd650b64d0
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Aug 7 16:46:17 2023 -0400

    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>
---
 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]