From b0dd6d6c62728a7a9ee0e2283cc0a0af9e207bb5 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Fri, 21 Jun 2024 10:09:40 +1100 Subject: [PATCH] [cmake] fix remaining llvm_check_linker_flag that slipped through --- clang/tools/clang-repl/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/tools/clang-repl/CMakeLists.txt b/clang/tools/clang-repl/CMakeLists.txt index 42618e4e31cb0ab..a35ff13494e1153 100644 --- a/clang/tools/clang-repl/CMakeLists.txt +++ b/clang/tools/clang-repl/CMakeLists.txt @@ -69,7 +69,7 @@ export_executable_symbols_for_plugins(clang-repl) # gold. This flag tells the linker to build a PLT for the full address range. # Linkers without this flag are assumed to support proper PLTs by default. set(flag_long_plt "-Wl,--long-plt") -llvm_check_linker_flag(CXX ${flag_long_plt} HAVE_LINKER_FLAG_LONG_PLT) +check_linker_flag(CXX ${flag_long_plt} HAVE_LINKER_FLAG_LONG_PLT) if(HAVE_LINKER_FLAG_LONG_PLT) target_link_options(clang-repl PRIVATE ${flag_long_plt}) endif()