guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: webkitgtk: Improve the 32-bit x86 target check.


From: guix-commits
Subject: 02/02: gnu: webkitgtk: Improve the 32-bit x86 target check.
Date: Sun, 7 Nov 2021 01:41:29 -0400 (EDT)

mhw pushed a commit to branch master
in repository guix.

commit b11badfb4cd8124f2f467697cf2a4d15e7f20b19
Author: Mark H Weaver <mhw@netris.org>
AuthorDate: Sat Nov 6 05:31:04 2021 -0400

    gnu: webkitgtk: Improve the 32-bit x86 target check.
    
    * gnu/packages/webkit.scm (webkitgtk)[arguments]: In the
    'prepare-build-environment' phase, use 'target-x86-32?'.
---
 gnu/packages/webkit.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index 5931402..688e745 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -308,7 +308,7 @@ acceleration in mind, leveraging common 3D graphics APIs 
for best performance.")
              (setenv "CXX" "clang++")
              ;; XXX Until we switch back to using GCC,
              ;; work around <https://bugs.gnu.org/51591>.
-             ,@(if (string=? "i686-linux" (%current-system))
+             ,@(if (target-x86-32?)
                    '((substitute* "Source/WTF/wtf/CheckedArithmetic.h"
                        (("#define USE_MUL_OVERFLOW 1")
                         "#define USE_MUL_OVERFLOW 0")))



reply via email to

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