Removed the parameter -mcpu=native and replaced it with -march=native (GCC) and -march=armv8-a (Clang).