Skip to content

Commit

Permalink
Build: If ARM64 feature detection func is found, stop looking for others
Browse files Browse the repository at this point in the history
This can speed up configure a tiny bit.

Fixes: c5f6d79
  • Loading branch information
Larhzu committed Apr 10, 2024
1 parent fc43cec commit 308a9af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ uint32_t my_crc(uint32_t a, uint64_t b)
# The C code is responsible for checking defined(__APPLE__) before using
# sysctlbyname("hw.optional.armv8_crc32", ...).
AS_IF([test "x$enable_arm64_crc32" = xyes], [
AC_CHECK_FUNCS([getauxval elf_aux_info sysctlbyname])
AC_CHECK_FUNCS([getauxval elf_aux_info sysctlbyname], [break])
])


Expand Down

0 comments on commit 308a9af

Please sign in to comment.