From 256df3cd4a590c0c0d97c4a5eb9eddc126a7dccc Mon Sep 17 00:00:00 2001 From: Julian Krieger Date: Mon, 1 Jul 2024 16:45:54 +0200 Subject: [PATCH] Fix build for Xtensa targets when using older versions of GCC add xtensa --- include/ring-core/target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ring-core/target.h b/include/ring-core/target.h index 409bdaf01f..f3842e4217 100644 --- a/include/ring-core/target.h +++ b/include/ring-core/target.h @@ -47,7 +47,7 @@ #elif defined(__ILP32__) #define OPENSSL_32_BIT // Versions of GCC before 10.0 didn't define `__ILP32__` for all 32-bit targets. -#elif defined(__MIPSEL__) || defined(__MIPSEB__) || defined(__PPC__) || defined(__powerpc__) || defined(__csky__) +#elif defined(__MIPSEL__) || defined(__MIPSEB__) || defined(__PPC__) || defined(__powerpc__) || defined(__csky__) || defined(__XTENSA__) #define OPENSSL_32_BIT #else #error "Unknown target CPU"