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
/* #undef HAVE_GCC_ASM_FOR_MC68881 */
/* Define if we can use x64 gcc inline assembler */
+
+#if defined(__x86_64__)
#define HAVE_GCC_ASM_FOR_X64 1
+#endif
/* Define if we can use gcc inline assembler to get and set x87 control word
*/
+
+#if defined(__x86_64__)
#define HAVE_GCC_ASM_FOR_X87 1
+#endif
/* Define if your compiler provides __uint128_t */
#define HAVE_GCC_UINT128_T 1