aboutsummaryrefslogtreecommitdiff
path: root/src/GlobalLib.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-05-09 13:19:47 +0200
committerdec05eba <dec05eba@protonmail.com>2022-05-09 13:19:47 +0200
commitfa06d5a76b02018980ccc12fcd52ea96bd894c81 (patch)
tree1de432f2bed72c23a8bbed1db0919a1ee2900eac /src/GlobalLib.cpp
parent2f4d2c4141e741aab767af2aa3e9c6fb3316e384 (diff)
Use lld or gold if installed
Diffstat (limited to 'src/GlobalLib.cpp')
-rw-r--r--src/GlobalLib.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/GlobalLib.cpp b/src/GlobalLib.cpp
index b390571..dc45e23 100644
--- a/src/GlobalLib.cpp
+++ b/src/GlobalLib.cpp
@@ -156,6 +156,11 @@ namespace sibs
sibsConfig.platform = parentConfig.platform;
sibsConfig.packaging = parentConfig.packaging;
sibsConfig.bundling = parentConfig.bundling;
+ sibsConfig.setSanitize(parentConfig.getSanitize());
+ sibsConfig.linker = parentConfig.linker;
+ sibsConfig.use_lto = parentConfig.use_lto;
+ sibsConfig.skipCompile = parentConfig.skipCompile;
+ sibsConfig.include_debug_symbols_in_release = parentConfig.include_debug_symbols_in_release;
Result<bool> result = Config::readFromFile(projectConfFilePath.c_str(), sibsConfig);
if (result.isErr())
return result;