GCC bug 122625 prevents me from using it. GCC 15.3 (unreleased) will have the fix. This project currently only supports clang. Tested only on Linux with clang 21.1 and CMake 3.31.6.
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections") set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -x assembler-with-cpp -MMD ...