Skip to content

Commit 15b5ac3

Browse files
committed
[libc] Add missing ${LIBC_INCLUDE_DIR} to object rule
This is breaking the runtimes build with llvm libc enabled. Differential Revision: https://reviews.llvm.org/D158894
1 parent dd07039 commit 15b5ac3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libc/cmake/modules/LLVMLibCObjectRules.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,8 @@ function(create_object_library fq_target_name)
360360
target_include_directories(
361361
${fq_target_name}
362362
PRIVATE
363-
${LIBC_BUILD_DIR}/include
364363
${LIBC_SOURCE_DIR}
365-
${LIBC_BUILD_DIR}
364+
${LIBC_INCLUDE_DIR}
366365
)
367366
target_compile_options(${fq_target_name} PRIVATE ${compile_options})
368367
endif()

0 commit comments

Comments
 (0)