diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-05-09 13:19:47 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-05-09 13:19:47 +0200 |
commit | fa06d5a76b02018980ccc12fcd52ea96bd894c81 (patch) | |
tree | 1de432f2bed72c23a8bbed1db0919a1ee2900eac /include | |
parent | 2f4d2c4141e741aab767af2aa3e9c6fb3316e384 (diff) |
Use lld or gold if installed
Diffstat (limited to 'include')
-rw-r--r-- | include/Linker.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 <functional> +#include <string> namespace sibs { using LinkerFlagCallbackFunc = std::function<void(const std::string&)>; using GlobalIncludeDirCallbackFunc = std::function<void(const std::string&)>; using CflagsCallbackFunc = std::function<void(const std::string&)>; + + bool is_gold_linker_installed(); + bool is_lld_linker_installed(); } #endif //SIBS_LINKER_HPP |