[libc-commits] [clang] [libc] [libc] Support opaque FILE* on baremetal (PR #168931)
Prabhu Rajasekaran via libc-commits
libc-commits at lists.llvm.org
Thu Nov 20 10:56:13 PST 2025
================
@@ -341,7 +341,7 @@ foreach(target armv6m-none-eabi;armv7m-none-eabi;armv7em-none-eabi;armv8m.main-n
foreach(lang C;CXX;ASM)
# TODO: The preprocessor defines workaround various issues in libc and libc++ integration.
# These should be addressed and removed over time.
- set(RUNTIMES_${target}_CMAKE_${lang}_local_flags "--target=${target} -Wno-atomic-alignment \"-Dvfprintf(stream, format, vlist)=vprintf(format, vlist)\" \"-Dfprintf(stream, format, ...)=printf(format)\" \"-Dfputs(string, stream)=puts(string)\" -D_LIBCPP_PRINT=1")
+ set(RUNTIMES_${target}_CMAKE_${lang}_local_flags "--target=${target} -Wno-atomic-alignment")
----------------
Prabhuk wrote:
You may also want to update libc/cmake/cache files introduced recently. e.g. https://github.com/llvm/llvm-project/blob/main/libc/cmake/caches/armv6m-none-eabi.cmake
https://github.com/llvm/llvm-project/pull/168931
More information about the libc-commits
mailing list