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

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Thu Feb 20 11:50:02 PST 2025


================
@@ -8,6 +8,22 @@ if(scanf_config_copts)
   list(PREPEND scanf_config_copts "COMPILE_OPTIONS")
 endif()
 
+
+list(APPEND file_deps
+  libc.hdr.types.FILE
+)
----------------
jhuber6 wrote:

```suggestion
list(APPEND file_deps libc.hdr.types.FILE)
```
nit. could just be a single line.

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


More information about the libc-commits mailing list