guix-patches
[Top][All Lists]
Advanced

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

[bug#42554] [PATCH staging] gnu: qtbase: Provide debug symbols.


From: Jakub Kądziołka
Subject: [bug#42554] [PATCH staging] gnu: qtbase: Provide debug symbols.
Date: Mon, 27 Jul 2020 01:19:20 +0200

* gnu/packages/qt.scm (qtbase)[outputs]: Add "debug".
[arguments]: Add "-force-debug-info" to configure flags.
---
NOTE: This increases the size of qtbase:out by about 6 MB. I am working
on a core-updates patch that restores the original size.

 gnu/packages/qt.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 1cbf7991ab..94b45a5520 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -367,6 +367,7 @@ developers using C++ or QML, a CSS & JavaScript like 
language.")
                                   "zlib"))
                   #t)))))
     (build-system gnu-build-system)
+    (outputs '("out" "debug"))
     (propagated-inputs
      `(("mesa" ,mesa)
        ;; Use which the package, not the function
@@ -473,6 +474,9 @@ developers using C++ or QML, a CSS & JavaScript like 
language.")
                  "-opensource"
                  "-confirm-license"
 
+                 ;; Later stripped into the :debug output.
+                 "-force-debug-info"
+
                  ;; These features require higher versions of Linux than the
                  ;; minimum version of the glibc.  See
                  ;; src/corelib/global/minimum-linux_p.h.  By disabling these
-- 
2.27.0






reply via email to

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