We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 055ae40 commit dc5c97dCopy full SHA for dc5c97d
libc/startup/linux/CMakeLists.txt
@@ -70,7 +70,7 @@ function(add_startup_object name)
70
)
71
endfunction()
72
73
-llvm_check_linker_flag(CXX "-r" LIBC_LINKER_SUPPORTS_RELOCATABLE)
+check_cxx_compiler_flag("-r" LIBC_LINKER_SUPPORTS_RELOCATABLE)
74
75
if(NOT LIBC_LINKER_SUPPORTS_RELOCATABLE)
76
message(STATUS "Skipping startup for target architecture ${LIBC_TARGET_ARCHITECTURE}: linker does not support -r")
0 commit comments