We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09194c2 commit a459d11Copy full SHA for a459d11
libc/src/stdio/scanf_core/CMakeLists.txt
@@ -67,7 +67,7 @@ add_header_library(
67
libc.src.stdio.getc
68
libc.src.stdio.ungetc
69
)
70
-elseif(NOT (TARGET libc.src.__support.File.file) )
+elseif( (TARGET libc.src.__support.File.file) OR (NOT LLVM_LIBC_FULL_BUILD) )
71
add_header_library(
72
reader
73
# SRCS
@@ -81,20 +81,6 @@ add_header_library(
81
COMPILE_OPTIONS
82
${use_system_file}
83
84
-elseif((LLVM_LIBC_FULL_BUILD))
85
-add_object_library(
86
- reader
87
- SRCS
88
- reader.cpp
89
- HDRS
90
- reader.h
91
- DEPENDS
92
- libc.src.__support.macros.attributes
93
- libc.src.__support.File.file
94
- libc.hdr.types.FILE
95
- # ${use_system_file}
96
-)
97
-
98
endif()
99
100
add_object_library(
0 commit comments