diff options
author | Mark H Weaver <mhw@netris.org> | 2021-11-06 05:31:04 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2021-11-07 01:38:59 -0400 |
commit | b11badfb4cd8124f2f467697cf2a4d15e7f20b19 (patch) | |
tree | 47bb04ed798315e2e1eb51019d254f7525bc7688 /gnu/packages/webkit.scm | |
parent | b0519cc4b04d29ea9327a117eb6c8c21547e6159 (diff) | |
download | guix-b11badfb4cd8124f2f467697cf2a4d15e7f20b19.tar.gz |
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?'.
Diffstat (limited to 'gnu/packages/webkit.scm')
-rw-r--r-- | gnu/packages/webkit.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm index 5931402b98..688e745d95 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"))) |