Skip to content

Commit 7ab6433

Browse files
committed
[libclang] Use check_linker_flag instead of llvm_check_linker_flag
Follow-up to #96171 in an attempt to fix the Solaris bots.
1 parent 23d188e commit 7ab6433

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/tools/libclang/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ if(ENABLE_SHARED)
190190
include(CheckLinkerFlag)
191191
# The Solaris 11.4 linker supports a subset of GNU ld version scripts,
192192
# but requires a special option to enable it.
193-
llvm_check_linker_flag(CXX "-Wl,-z,gnu-version-script-compat"
194-
LINKER_SUPPORTS_Z_GNU_VERSION_SCRIPT_COMPAT)
193+
check_linker_flag(CXX "-Wl,-z,gnu-version-script-compat"
194+
LINKER_SUPPORTS_Z_GNU_VERSION_SCRIPT_COMPAT)
195195
# Older Solaris (and illumos) linker does not support GNU ld version scripts
196196
# and does not support GNU version script compat.
197197
if (LINKER_SUPPORTS_Z_GNU_VERSION_SCRIPT_COMPAT)

0 commit comments

Comments
 (0)