Skip to content

Commit 20a0066

Browse files
[libc] remove references to LIBC_HDRGEN_ONLY
Further cleanups from old hdrgen removal. I didn't realize there were cmake variables related to old hdrgen spread out throughout more of the source tree. Link: #117220 Link: #117208
1 parent 8cffab8 commit 20a0066

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/cmake/modules/CrossCompile.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ function(llvm_create_cross_target project_name target_name toolchain buildtype)
6969
"-DLLVM_EXTERNAL_${name}_SOURCE_DIR=${LLVM_EXTERNAL_${name}_SOURCE_DIR}")
7070
endforeach()
7171

72-
if("libc" IN_LIST LLVM_ENABLE_PROJECTS AND NOT LIBC_HDRGEN_EXE)
73-
set(libc_flags -DLLVM_LIBC_FULL_BUILD=ON -DLIBC_HDRGEN_ONLY=ON)
72+
if("libc" IN_LIST LLVM_ENABLE_PROJECTS)
73+
set(libc_flags -DLLVM_LIBC_FULL_BUILD=ON)
7474
if(MSVC)
7575
# Due to some issues mentioned in llvm/projects/CMakeLists.txt, libc build is disabled by
7676
# default in the cross target when building with MSVC compatible compilers on Windows. Add

0 commit comments

Comments
 (0)