The right fix would be to check the target cpu family and restrict the SSE/AVX checks to the Intel family.
A more hacky way would be to check for a working -Werror=unused-command-line-argument flag and pass it to the AX_CHECK_COMPILE_FLAG macro as extra parameter.
Hello,
on arm64 macOS configure detects the following:
Looking into
config.log
shows the following:The right fix would be to check the target cpu family and restrict the SSE/AVX checks to the Intel family.
A more hacky way would be to check for a working
-Werror=unused-command-line-argument
flag and pass it to theAX_CHECK_COMPILE_FLAG
macro as extra parameter.Thanks, Gregor