This is an automated email from the git hooks/post-receive script.
mhw pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 1007eb4 Revert "gnu: webkitgtk: Use GCC 11 instead of Clang."
1007eb4 is described below
commit 1007eb4874b7d3d2e0ecda07157f5794a0591ea2
Author: Mark H Weaver <[email protected]>
AuthorDate: Thu Nov 4 08:27:15 2021 -0400
Revert "gnu: webkitgtk: Use GCC 11 instead of Clang."
This reverts commit 63f78f6a6ea0d33f3b1fa68c7285cfb865677211.
It led to broken builds of epiphany, gnome-online-accounts, yelp,
zenity, surf, and possibly others.
---
gnu/packages/webkit.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index 7384ead..e54b680 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -295,6 +295,11 @@ 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"))
@@ -304,8 +309,8 @@ acceleration in mind, leveraging common 3D graphics APIs
for best performance.")
(string-append doc "/share/gtk-doc"))
#t))))))
(native-inputs
- `(("bison" ,bison)
- ("gcc" ,gcc-11)
+ `(("clang" ,clang-11)
+ ("bison" ,bison)
("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
("gobject-introspection" ,gobject-introspection)