guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: qtbase: Fix build on older kernels.


From: Ricardo Wurmus
Subject: 01/01: gnu: qtbase: Fix build on older kernels.
Date: Fri, 1 Jun 2018 11:33:57 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 65a9f6b6cf3e41a4bbb144d03c5c440dd01d25dc
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Jun 1 13:19:25 2018 +0200

    gnu: qtbase: Fix build on older kernels.
    
    * gnu/packages/qt.scm (qtbase)[arguments]: Add configure flags
    "-no-feature-getentropy" and "-no-feature-renameat2".
---
 gnu/packages/qt.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index c3d0bff..a48a04f 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016, 2017 Nils Gillmann <address@hidden>
 ;;; Copyright © 2016 Thomas Danckaert <address@hidden>
-;;; Copyright © 2017 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2017, 2018 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2017 Quiliro <address@hidden>
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2018 Nicolas Goaziou <address@hidden>
@@ -487,6 +487,16 @@ developers using C++ or QML, a CSS & JavaScript like 
language.")
                                   out "/share/doc/qt5/examples")
                  "-opensource"
                  "-confirm-license"
+
+                 ;; 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
+                 ;; features Qt5 applications can be used on the oldest
+                 ;; kernels that the glibc supports, including the RHEL6
+                 ;; (2.6.32) and RHEL7 (3.10) kernels.
+                 "-no-feature-getentropy"  ; requires Linux 3.17
+                 "-no-feature-renameat2"   ; requires Linux 3.16
+
                  ;; Do not build examples; if desired, these could go
                  ;; into a separate output, but for the time being, we
                  ;; prefer to save the space and build time.



reply via email to

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