From: John Paul Adrian Glaubitz Date: Thu, 29 Feb 2024 21:45:27 +0000 (+0000) Subject: Add SH description X-Git-Tag: archive/raspbian/6.4.2+dfsg-21.1+rpi1^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2702c50b9bd40df4c52b63920a73a4e7db1db675;p=qt6-base.git Add SH description Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225 Reviewed-by: Lisandro Damián Nicanor Pérez Meyer Upstream processes archs from time to time and tends to disable those that they do not know wether they are working or not. SH is working on Debian, so as an intermediate measure re enable it here. Gbp-Pq: Name Add-SH-detection.patch --- diff --git a/src/corelib/global/qprocessordetection.h b/src/corelib/global/qprocessordetection.h index bfeb19ee..94a1ea29 100644 --- a/src/corelib/global/qprocessordetection.h +++ b/src/corelib/global/qprocessordetection.h @@ -294,12 +294,12 @@ SuperH is bi-endian, use endianness auto-detection implemented below. */ -// #elif defined(__sh__) -// # define Q_PROCESSOR_SH -// # if defined(__sh4a__) -// # define Q_PROCESSOR_SH_4A -// # endif -// Q_BYTE_ORDER not defined, use endianness auto-detection +#elif defined(__sh__) +# define Q_PROCESSOR_SH +# if defined(__sh4a__) +# define Q_PROCESSOR_SH_4A +# endif +# define Q_BYTE_ORDER Q_LITTLE_ENDIAN /* SPARC family, optional revision: V9