build: remove arm includes from getauxval() check

Then the check will work on platforms other than ARM.
This commit is contained in:
fanquake committed 2021-09-24 15:39:25 +08:00
1 parent b7e3600815
commit e56100c5b4
1 file changed
-2
-2
View File
@@ -1210,8 +1210,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <xmmintrin.h>]], [[
AC_MSG_CHECKING(for strong getauxval support in the system headers)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <arm_acle.h>
#include <arm_neon.h>
#include <sys/auxv.h>
]], [[
getauxval(AT_HWCAP);