[libc-commits] [libc] [libc] Fix scanf cmake for targets without FILE (PR #128056)

Caslyn Tonelli via libc-commits libc-commits at lists.llvm.org
Thu Feb 20 12:26:36 PST 2025


================
@@ -40,4 +41,6 @@ add_libc_unittest(
     libc.src.stdio.scanf_core.reader
     libc.src.stdio.scanf_core.converter
     libc.src.__support.CPP.string_view
+  COMPILE_OPTIONS
----------------
Caslyn wrote:

Curious - why do we add a `COMPILE_OPTIONS` here, but not in libc/src/stdio/scanf_core/CMakeLists.txt when adding `${use_system_file}` there?

https://github.com/llvm/llvm-project/pull/128056


More information about the libc-commits mailing list