guix-commits
[Top][All Lists]
Advanced

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

06/07: gnu: address@hidden: Update build config.


From: Efraim Flashner
Subject: 06/07: gnu: address@hidden: Update build config.
Date: Wed, 24 Oct 2018 07:28:33 -0400 (EDT)

efraim pushed a commit to branch qt-updates
in repository guix.

commit daa6e0e00c50373fb9184d8ef4aec0d7771f29c4
Author: Efraim Flashner <address@hidden>
Date:   Sun Oct 21 10:04:34 2018 +0300

    gnu: address@hidden: Update build config.
    
    * gnu/packages/qt.scm (address@hidden)[arguments]: Substitute hardcoded 
'/bin/ls'
    invocation. Add configure-flags to not build the examples or demos.
    Don't use the precompiled headers.
---
 gnu/packages/qt.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 6d9b3f9..966b354 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -430,11 +430,14 @@ system, and the core design of Django is reused in 
Grantlee.")
                   (doc (assoc-ref outputs "doc")))
               (substitute* '("configure")
                 (("/bin/pwd") (which "pwd")))
+              (substitute* "src/corelib/global/global.pri"
+                (("/bin/ls") (which "ls")))
 
               (zero? (system*
                       "./configure"
                       "-verbose"
                       "-prefix" out
+                      "-nomake" "examples demos"
                       ;; Note: Don't pass '-docdir' since 'qmake' and
                       ;; libQtCore would record its value, thereby defeating
                       ;; the whole point of having a separate output.
@@ -457,6 +460,8 @@ system, and the core design of Django is reused in 
Grantlee.")
                       ;; Skip the webkit module; it fails to build on armhf
                       ;; and, apart from that, may pose security risks.
                       "-no-webkit"
+                      ;; don't use the precompiled headers
+                      "-no-pch"
                       ;; drop special machine instructions not supported
                       ;; on all instances of the target
                       ,@(if (string-prefix? "x86_64"



reply via email to

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