mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
code_size_compare: detect architecture of x86_32 properly
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
@@ -147,7 +147,7 @@ def detect_arch() -> str:
|
|||||||
return SupportedArch.AARCH32.value
|
return SupportedArch.AARCH32.value
|
||||||
if '__x86_64__' in cc_output:
|
if '__x86_64__' in cc_output:
|
||||||
return SupportedArch.X86_64.value
|
return SupportedArch.X86_64.value
|
||||||
if '__x86__' in cc_output:
|
if '__i386__' in cc_output:
|
||||||
return SupportedArch.X86.value
|
return SupportedArch.X86.value
|
||||||
else:
|
else:
|
||||||
print("Unknown host architecture, cannot auto-detect arch.")
|
print("Unknown host architecture, cannot auto-detect arch.")
|
||||||
|
Reference in New Issue
Block a user