Skip to content

Commit f8f934e

Browse files
authored
[libc][NFC] Make the dummy header target under overlay build a library. (#66329)
This fixes the broken overlay builders.
1 parent c374143 commit f8f934e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/cmake/modules/LLVMLibCHeaderRules.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function(add_gen_header target_name)
8686
get_fq_target_name(${target_name} fq_target_name)
8787
if(NOT LLVM_LIBC_FULL_BUILD)
8888
# We don't want to use generated headers if we are doing a non-full-build.
89-
add_custom_target(${fq_target_name})
89+
add_library(${fq_target_name} INTERFACE)
9090
return()
9191
endif()
9292
if(NOT ADD_GEN_HDR_DEF_FILE)

0 commit comments

Comments
 (0)