From a6139ade223e8e77703d87cc28e1c5f322c1bb4b Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 22 Feb 2022 12:56:44 +0800 Subject: [PATCH] Disable arch checks on 32 bit GCC that don't build --- nel/src/misc/system_info.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nel/src/misc/system_info.cpp b/nel/src/misc/system_info.cpp index ddf66d56b..fa00ace61 100644 --- a/nel/src/misc/system_info.cpp +++ b/nel/src/misc/system_info.cpp @@ -1333,7 +1333,7 @@ uint64 CSystemInfo::getProcessorFrequency(bool quick) static bool DetectMMX() { - #ifdef NL_CPU_INTEL + #if defined(NL_CPU_INTEL) && (defined(HAVE_X86_64) || !defined(NL_COMP_GCC)) if (!CSystemInfo::hasCPUID()) return false; // cpuid not supported ... sint32 CPUInfo[4]; @@ -1348,7 +1348,7 @@ static bool DetectMMX() static bool DetectSSE() { - #ifdef NL_CPU_INTEL + #if defined(NL_CPU_INTEL) && (defined(HAVE_X86_64) || !defined(NL_COMP_GCC)) if (!CSystemInfo::hasCPUID()) return false; // cpuid not supported ... sint32 CPUInfo[4];