mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-19 13:17:10 -05:00
gnu: webkitgtk: Really disable SSE2 on non-x86_64 achitectures.
This is a followup to d82fd7c2dd
.
* gnu/packages/webkit.scm (webkitgtk)[phases]{disable-sse2}: Adjust.
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
5084e21819
commit
68d47844b1
1 changed files with 4 additions and 4 deletions
|
@ -290,13 +290,13 @@ (define-public webkitgtk
|
|||
(substitute* "Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp"
|
||||
(("libWPEBackend-fdo-([\\.0-9]+)\\.so" all version)
|
||||
(string-append wpebackend-fdo "/lib/" all))))))
|
||||
,@(if (string-prefix? "x86_64" (or (%current-target-system)
|
||||
(%current-system)))
|
||||
,@(if (target-x86-64?)
|
||||
'()
|
||||
'((add-after 'unpack 'disable-sse2
|
||||
(lambda _
|
||||
(substitute* "Source/cmake/DetectSSE2.cmake"
|
||||
(("CHECK_FOR_SSE2\\(\\)") ""))))))
|
||||
(substitute* "Source/cmake/WebKitCompilerFlags.cmake"
|
||||
(("WTF_CPU_X86 AND NOT CMAKE_CROSSCOMPILING")
|
||||
"FALSE"))))))
|
||||
(add-after 'install 'move-doc-files
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue