[libc-commits] [libc] [libc] Removed unused flags from baremetal cache files (PR #168942)
Aiden Grossman via libc-commits
libc-commits at lists.llvm.org
Thu Nov 20 12:51:31 PST 2025
================
@@ -2,7 +2,7 @@ set(CMAKE_SYSTEM_PROCESSOR arm CACHE STRING "")
set(RUNTIMES_TARGET_TRIPLE "armv6m-none-eabi" CACHE STRING "")
foreach(lang C;CXX;ASM)
- set(CMAKE_${lang}_FLAGS "-march=armv6m -mcpu=cortex-m0plus -mfloat-abi=soft -Wno-atomic-alignment \"-Dvfprintf(stream, format, vlist)=vprintf(format, vlist)\" \"-Dfprintf(stream, format, ...)=printf(format)\" \"-Dfputs(string, stream)=puts(string)\" -D_LIBCPP_PRINT=1" CACHE STRING "")
+ set(CMAKE_${lang}_FLAGS "-march=armv6m -mcpu=cortex-m0plus -mfloat-abi=soft -Wno-atomic-alignment" CACHE STRING "")
----------------
boomanaiden154 wrote:
Bikeshedding a bit, but why do we need `-Wno-atomic-alignment`?
https://github.com/llvm/llvm-project/pull/168942
More information about the libc-commits
mailing list