mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
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?'.
This commit is contained in:
parent
b0519cc4b0
commit
b11badfb4c
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ (define-public webkitgtk
|
|||
(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")))
|
||||
|
|
Loading…
Reference in a new issue