commit eda4a48
Erik Tagirov
·
2026-04-04 20:28:20 +0000 UTC
parent 6412812
python: enable build on AARCH64 Disable x86 inline asm when building on AARCH64
2 files changed,
+5,
-0
+3,
-0
1@@ -11,3 +11,6 @@ Generated with
2
3 Use libtls's conversative default set of cipher suites since the
4 python default uses `@SECLEVEL=2`, which is not supported by libressl.
5+
6+`HAVE_GCC_ASM_FOR_X64` and `HAVE_GCC_ASM_FOR_X87` were guarded by
7+`#ifdef __x86_64__` for compatibility with other architectures.
+2,
-0
1@@ -133,8 +133,10 @@
2 #define HAVE_GAI_STRERROR 1
3 /* #undef HAVE_GAMMA */
4 /* #undef HAVE_GCC_ASM_FOR_MC68881 */
5+#ifdef __x86_64__
6 #define HAVE_GCC_ASM_FOR_X64 1
7 #define HAVE_GCC_ASM_FOR_X87 1
8+#endif
9 #define HAVE_GCC_UINT128_T 1
10 #define HAVE_GETADDRINFO 1
11 #define HAVE_GETC_UNLOCKED 1