diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-05-09 07:28:05 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-05-10 10:57:05 +0200 |
commit | 17cf438c0b34e1d4ec3a6dbec545fb0a8c9713b2 (patch) | |
tree | 3fabf2bd7b2910a7debd68366062db5789522230 /config_host | |
parent | 46a9ca4b551b2d08b04e2b0cc28ea51579abf40f (diff) |
enable Skia on big-endian too
Without this the build will #error out, and despite the disclaimer
it reportedly works fine.
https://lists.freedesktop.org/archives/libreoffice/2022-May/088838.html
Change-Id: I0e87b31647fe5107bca9b58d8f4af5fc0c67cd65
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134032
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
(cherry picked from commit b06663135f9c7c08f5866a87a1fb0932df5af8bd)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134057
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'config_host')
-rw-r--r-- | config_host/config_skia.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config_host/config_skia.h.in b/config_host/config_skia.h.in index 10fd4374b9c5..0d69c1a2d3eb 100644 --- a/config_host/config_skia.h.in +++ b/config_host/config_skia.h.in @@ -58,6 +58,10 @@ are the same. // the default X11 visual is actually also BGRA. #define SK_R32_SHIFT 16 +// Enable skia on big-endian too. Despite the disclaimer it reportedly +// actually works fine. +#define I_ACKNOWLEDGE_SKIA_DOES_NOT_SUPPORT_BIG_ENDIAN 1 + // Enable Skia's internal checks depending on DBG_UTIL mode. ENABLE_SKIA_DEBUG // controls whether to build with or without optimizations (set in Makefile). #ifdef DBG_UTIL |