From 0621699a4b5f9bb74355eb106afb7fe68be6db2a Mon Sep 17 00:00:00 2001 From: Jingyun Hua Date: Thu, 8 Jun 2023 06:23:44 +0000 Subject: [PATCH] Fix lupdate command execution error on loongarch64 Signed-off-by: Jingyun Hua --- src/corelib/global/qprocessordetection.h | 5 +++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/corelib/global/qprocessordetection.h b/src/corelib/global/qprocessordetection.h index ca9d4080..6f0bc7e7 100644 --- a/src/corelib/global/qprocessordetection.h +++ b/src/corelib/global/qprocessordetection.h @@ -225,8 +225,9 @@ // Q_BYTE_ORDER not defined, use endianness auto-detection #elif defined(__loongarch64) -# define Q_PROCESSOR_LOONGARCH_64 -# define Q_PROCESSOR_WORDSIZE 8 +# define Q_PROCESSOR_LOONGARCH_64 +# define Q_PROCESSOR_WORDSIZE 8 +# define Q_BYTE_ORDER Q_LITTLE_ENDIAN /* MIPS family, known revisions: I, II, III, IV, 32, 64 -- 2.33.0