mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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 @@ acceleration in mind, leveraging common 3D graphics APIs for best performance.")
|
||||||
(setenv "CXX" "clang++")
|
(setenv "CXX" "clang++")
|
||||||
;; XXX Until we switch back to using GCC,
|
;; XXX Until we switch back to using GCC,
|
||||||
;; work around <https://bugs.gnu.org/51591>.
|
;; work around <https://bugs.gnu.org/51591>.
|
||||||
,@(if (string=? "i686-linux" (%current-system))
|
,@(if (target-x86-32?)
|
||||||
'((substitute* "Source/WTF/wtf/CheckedArithmetic.h"
|
'((substitute* "Source/WTF/wtf/CheckedArithmetic.h"
|
||||||
(("#define USE_MUL_OVERFLOW 1")
|
(("#define USE_MUL_OVERFLOW 1")
|
||||||
"#define USE_MUL_OVERFLOW 0")))
|
"#define USE_MUL_OVERFLOW 0")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue