From fa06d5a76b02018980ccc12fcd52ea96bd894c81 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 9 May 2022 13:19:47 +0200 Subject: Use lld or gold if installed --- include/Linker.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/Linker.hpp b/include/Linker.hpp index acf31e4..b2e64fe 100644 --- a/include/Linker.hpp +++ b/include/Linker.hpp @@ -2,12 +2,16 @@ #define SIBS_LINKER_HPP #include +#include namespace sibs { using LinkerFlagCallbackFunc = std::function; using GlobalIncludeDirCallbackFunc = std::function; using CflagsCallbackFunc = std::function; + + bool is_gold_linker_installed(); + bool is_lld_linker_installed(); } #endif //SIBS_LINKER_HPP -- cgit v1.2.3