diff options
author | Diego Nicola Barbato <dnbarbato@posteo.de> | 2021-11-25 22:44:40 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-11-25 22:51:41 -0500 |
commit | 68d47844b1aea8bc14e2c419d539205aa0d36925 (patch) | |
tree | 1c82ea621b81f96aaf9fdcdf02fcdf0e15b29919 /gnu | |
parent | 5084e21819e7832b0fa113a1070cb831a145ea57 (diff) |
gnu: webkitgtk: Really disable SSE2 on non-x86_64 achitectures.
This is a followup to d82fd7c2dd542693988f61fb15c020e3209ac7ec.
* gnu/packages/webkit.scm (webkitgtk)[phases]{disable-sse2}: Adjust.
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/webkit.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm index f988bf0697..a1cffb55b3 100644 --- a/gnu/packages/webkit.scm +++ b/gnu/packages/webkit.scm @@ -290,13 +290,13 @@ acceleration in mind, leveraging common 3D graphics APIs for best performance.") (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")) |