guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: webkitgtk: Use GCC 11 instead of Clang.


From: guix-commits
Subject: branch master updated: gnu: webkitgtk: Use GCC 11 instead of Clang.
Date: Thu, 04 Nov 2021 01:15:52 -0400

This is an automated email from the git hooks/post-receive script.

lilyp pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 63f78f6  gnu: webkitgtk: Use GCC 11 instead of Clang.
63f78f6 is described below

commit 63f78f6a6ea0d33f3b1fa68c7285cfb865677211
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Thu Nov 4 06:08:19 2021 +0100

    gnu: webkitgtk: Use GCC 11 instead of Clang.
    
    WebkitGTK still compiles fine on x86_64 using GCC 11.  This is the only
    architecture known to compile currently, as i686 fails with Clang and others
    fail due to unsatisfied dependencies.
    
    * gnu/packages/webkit.scm (webkitgtk)[#:phases]: Drop
    ‘prepare-build-environment’.
    [native-inputs]: Drop clang, add gcc.
---
 gnu/packages/webkit.scm | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index e54b680..7384ead 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -295,11 +295,6 @@ acceleration in mind, leveraging common 3D graphics APIs 
for best performance.")
                  (("libWPEBackend-fdo-([\\.0-9]+)\\.so" all version)
                   (string-append wpebackend-fdo "/lib/" all)))
                #t)))
-         (add-before 'configure 'prepare-build-environment
-           (lambda* (#:key inputs #:allow-other-keys)
-             (setenv "CC" "clang")
-             (setenv "CXX" "clang++")
-             #t))
          (add-after 'install 'move-doc-files
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out"))
@@ -309,8 +304,8 @@ acceleration in mind, leveraging common 3D graphics APIs 
for best performance.")
                             (string-append doc "/share/gtk-doc"))
                #t))))))
     (native-inputs
-     `(("clang" ,clang-11)
-       ("bison" ,bison)
+     `(("bison" ,bison)
+       ("gcc" ,gcc-11)
        ("gettext" ,gettext-minimal)
        ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
        ("gobject-introspection" ,gobject-introspection)



reply via email to

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