]> xenbits.xensource.com Git - unikraft/libs/python3.git/commit
include/pyconfig.h: Add guard for x86 specific macros RELEASE-0.11.0 RELEASE-0.12.0 RELEASE-0.13.0 RELEASE-0.13.1
authorMaria Sfiraiala <maria.sfiraiala@gmail.com>
Thu, 10 Nov 2022 16:26:54 +0000 (18:26 +0200)
committerUnikraft <monkey@unikraft.io>
Fri, 18 Nov 2022 10:24:04 +0000 (10:24 +0000)
commit450c3bd82342b4453fa323b283a411871e5e888e
tree0c88dcc83e7d66b3f568e03672411d33889aab70
parentd0f247f2be6a8ab05c1105b9515e7d08cc6198fa
include/pyconfig.h: Add guard for x86 specific macros

HAVE_GCC_ASM_FOR_X64 and HAVE_GCC_ASM_FOR_X87 macros break the build
for app-python3 on AArch64. Therefore, this commit adds an architecture
specific guard for each one of them, as on x86 they behave just fine.

Github-Fixes: #10

Signed-off-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #11
include/pyconfig.h