guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: webkitgtk: Fix building on i686-linux.


From: guix-commits
Subject: branch master updated: gnu: webkitgtk: Fix building on i686-linux.
Date: Mon, 10 Jul 2023 03:58:37 -0400

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

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 997f7a71a6 gnu: webkitgtk: Fix building on i686-linux.
997f7a71a6 is described below

commit 997f7a71a6d35a5ae3596ed4641e08ca56ebaf74
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jul 10 10:17:31 2023 +0300

    gnu: webkitgtk: Fix building on i686-linux.
    
    * gnu/packages/webkit.scm (webkitgtk)[arguments]: When building for
    i686-linux add a phase to not include optimizations used by
    x86_64-linux.
---
 gnu/packages/webkit.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index 5ab93ad9eb..f47fff25d2 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -199,6 +199,13 @@ engine that uses Wayland for graphics output.")
                 (substitute* 
"Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp"
                   (("libWPEBackend-fdo-[\\.0-9]+\\.so" all)
                    (search-input-file inputs (string-append "lib/" all)))))))
+          #$@(if (target-x86-32?)
+                 ;; Don't include x86intrin.h on i686-linux.
+                 '((add-after 'unpack 'fix-headers
+                     (lambda _
+                       (substitute* 
"Source/ThirdParty/ANGLE/src/common/platform.h"
+                         (("\\|\\| defined\\(__i386__\\)") "")))))
+                 '())
           #$@(if (target-x86-64?)
                  '()
                  '((add-after 'unpack 'disable-sse2



reply via email to

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