aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2021-11-06 05:31:04 -0400
committerMark H Weaver <mhw@netris.org>2021-11-07 01:38:59 -0400
commitb11badfb4cd8124f2f467697cf2a4d15e7f20b19 (patch)
tree47bb04ed798315e2e1eb51019d254f7525bc7688 /gnu
parentb0519cc4b04d29ea9327a117eb6c8c21547e6159 (diff)
downloadguix-b11badfb4cd8124f2f467697cf2a4d15e7f20b19.tar
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')
-rw-r--r--gnu/packages/webkit.scm2
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")))