File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -363,16 +363,24 @@ add_entrypoint_object(
363
363
libc.src.__support.File.platform_file
364
364
)
365
365
366
- list (APPEND printf_deps
366
+ list (APPEND fprintf_deps
367
367
libc.hdr.types.FILE
368
368
libc.src.__support.arg_list
369
369
libc.src.stdio.printf_core.vfprintf_internal
370
370
)
371
371
372
372
if (LLVM_LIBC_FULL_BUILD )
373
- list (APPEND printf_deps
373
+ list (APPEND fprintf_deps
374
374
libc.src.__support.File.file
375
375
libc.src.__support.File.platform_file
376
+ )
377
+ endif ()
378
+
379
+ # Copy the deps for printf_deps
380
+ set (printf_deps ${fprintf_deps} )
381
+
382
+ if (LLVM_LIBC_FULL_BUILD )
383
+ list (APPEND printf_deps
376
384
libc.src.__support.File.platform_stdout
377
385
)
378
386
endif ()
@@ -404,7 +412,7 @@ add_entrypoint_object(
404
412
HDRS
405
413
../fprintf.h
406
414
DEPENDS
407
- ${printf_deps }
415
+ ${fprintf_deps }
408
416
)
409
417
410
418
add_entrypoint_object (
@@ -414,7 +422,7 @@ add_entrypoint_object(
414
422
HDRS
415
423
../vfprintf.h
416
424
DEPENDS
417
- ${printf_deps }
425
+ ${fprintf_deps }
418
426
)
419
427
420
428
add_entrypoint_object (
You can’t perform that action at this time.
0 commit comments