From e56100c5b4daf2285dde9807bf654599aa19bd6b Mon Sep 17 00:00:00 2001 From: fanquake Date: Fri, 24 Sep 2021 08:55:00 +0800 Subject: [PATCH] build: remove arm includes from getauxval() check Then the check will work on platforms other than ARM. --- configure.ac | 2 -- 1 file changed, 2 deletions(-) diff --git a/configure.ac b/configure.ac index e30159f91b..362ba096b8 100644 --- a/configure.ac +++ b/configure.ac @@ -1210,8 +1210,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ AC_MSG_CHECKING(for strong getauxval support in the system headers) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include - #include #include ]], [[ getauxval(AT_HWCAP);