Skip to content

Commit

Permalink
[libc][NFC] Make the dummy header target under overlay build a librar…
Browse files Browse the repository at this point in the history
…y. (llvm#66329)

This fixes the broken overlay builders.
  • Loading branch information
sivachandra authored and kstoimenov committed Sep 14, 2023
1 parent b51c985 commit 59b5ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libc/cmake/modules/LLVMLibCHeaderRules.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function(add_gen_header target_name)
get_fq_target_name(${target_name} fq_target_name)
if(NOT LLVM_LIBC_FULL_BUILD)
# We don't want to use generated headers if we are doing a non-full-build.
add_custom_target(${fq_target_name})
add_library(${fq_target_name} INTERFACE)
return()
endif()
if(NOT ADD_GEN_HDR_DEF_FILE)
Expand Down

0 comments on commit 59b5ae8

Please sign in to comment.