source/darkplaces/makefile.inc:CPUOPTIMIZATIONS?=-mno-avx breaks aarch64 compilation
cc --version cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
...
make[3]: Entering directory '/home/xonotic/Xonotic/source/darkplaces/build-obj/release/darkplaces-dedicated' cc -pipe -march=native -mtune=native -flto=auto -I/home/xonotic/Xonotic/source/ -L/home/xonotic/Xonotic/source/d0_blind_id/.libs/ -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -O3 -fno-strict-aliasing -fno-math-errno -fno-trapping-math -mno-avx -c ../../../sys_linux.c -o sys_linux.o cc: error: unrecognized command-line option ‘-mno-avx’
From autobuild 2023-04-23.
CPU is Ampere A1 ARM.