File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,9 @@ set(LIBC_BUILD_DIR ${CMAKE_CURRENT_BINARY_DIR})
4646
4747set (LIBC_ENABLE_USE_BY_CLANG OFF CACHE BOOL "Whether or not to place libc in a build directory findable by a just built clang" )
4848
49- # LIBC_USE_HOST_KERNEL_HEADERS is brittle, and frowned upon (prefer
50- # setting LIBC_KERNEL_HEADERS), but is simpler from a hello world linux host
51- # build.
52- set (LIBC_USE_HOST_KERNEL_HEADERS OFF CACHE BOOL "Add /usr/include to the header seach path" )
49+ # LIBC_USE_HOST_KERNEL_HEADERS is brittle, and frowned upon (prefer setting
50+ # LIBC_KERNEL_HEADERS), but is simpler from a hello world linux host build.
51+ option (LIBC_USE_HOST_KERNEL_HEADERS "Add /usr/include to the header seach path" OFF )
5352set (LIBC_KERNEL_HEADERS "" CACHE STRING "Path to Linux kernel headers" )
5453
5554# Defining a global namespace to enclose all libc functions.
You can’t perform that action at this time.
0 commit comments