Skip to content

Commit 5845f09

Browse files
committed
Add Module Linker flags
1 parent bf3e961 commit 5845f09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/cmake/caches/llvm-toolchain/stage2.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ set(LLVM_STATIC_LINK_CXX_STDLIB ON CACHE BOOL "")
1313
set(CLANG_BOLT "INSTRUMENT" CACHE STRING "")
1414
set(CMAKE_EXE_LINKER_FLAGS "-Wl,--emit-relocs,-znow -rtlib=compiler-rt --unwindlib=libunwind -static-libgcc" CACHE STRING "")
1515
set(CMAKE_SHARED_LINKER_FLAGS "-rtlib=compiler-rt --unwindlib=libunwind -static-libgcc" CACHE STRING "")
16+
set(CMAKE_MODULE_LINKER_FLAGS "-rtlib=compiler-rt --unwindlib=libunwind -static-libgcc" CACHE STRING "")
1617
set(LLVM_DISTRIBUTION_COMPONENTS clang lld runtimes clang-resource-headers CACHE STRING "")

0 commit comments

Comments
 (0)