mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: webkitgtk: Fix building on i686-linux.
* gnu/packages/webkit.scm (webkitgtk)[arguments]: When building for i686-linux add a phase to not include optimizations used by x86_64-linux.
This commit is contained in:
@@ -199,6 +199,13 @@ engine that uses Wayland for graphics output.")
|
||||
(substitute* "Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp"
|
||||
(("libWPEBackend-fdo-[\\.0-9]+\\.so" all)
|
||||
(search-input-file inputs (string-append "lib/" all)))))))
|
||||
#$@(if (target-x86-32?)
|
||||
;; Don't include x86intrin.h on i686-linux.
|
||||
'((add-after 'unpack 'fix-headers
|
||||
(lambda _
|
||||
(substitute* "Source/ThirdParty/ANGLE/src/common/platform.h"
|
||||
(("\\|\\| defined\\(__i386__\\)") "")))))
|
||||
'())
|
||||
#$@(if (target-x86-64?)
|
||||
'()
|
||||
'((add-after 'unpack 'disable-sse2
|
||||
|
||||
Reference in New Issue
Block a user