File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -363,6 +363,20 @@ add_entrypoint_object(
363
363
libc.src.__support.File.platform_file
364
364
)
365
365
366
+ list (APPEND printf_deps
367
+ libc.hdr.types.FILE
368
+ libc.src.__support.arg_list
369
+ libc.src.stdio.printf_core.vfprintf_internal
370
+ )
371
+
372
+ if (LLVM_LIBC_FULL_BUILD )
373
+ list (APPEND printf_deps
374
+ libc.src.__support.File.file
375
+ libc.src.__support.File.platform_file
376
+ libc.src.__support.File.platform_stdout
377
+ )
378
+ endif ()
379
+
366
380
add_entrypoint_object (
367
381
printf
368
382
SRCS
@@ -390,9 +404,6 @@ add_entrypoint_object(
390
404
HDRS
391
405
../fprintf.h
392
406
DEPENDS
393
- libc.hdr.types.FILE
394
- libc.src.__support.arg_list
395
- libc.src.stdio.printf_core.vfprintf_internal
396
407
${printf_deps}
397
408
)
398
409
@@ -403,9 +414,6 @@ add_entrypoint_object(
403
414
HDRS
404
415
../vfprintf.h
405
416
DEPENDS
406
- libc.hdr.types.FILE
407
- libc.src.__support.arg_list
408
- libc.src.stdio.printf_core.vfprintf_internal
409
417
${printf_deps}
410
418
)
411
419
You can’t perform that action at this time.
0 commit comments