This way, we could use it for LLVM_ENABLE_PROJECTS too if desired. Differential Revision: https://reviews.llvm.org/D125121
extend_path
{llvm,compiler_rt}_check_linker_flag