From 5f3131d00e4d202da03fd28a15bd17f8d45673ff Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Fri, 22 Dec 2023 16:11:45 +0100 Subject: [PATCH] Add SH description MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/corelib/global/qprocessordetection.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.30.2