aboutsummaryrefslogtreecommitdiff
path: root/src/GlobalLib.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-06-27 02:27:44 +0200
committerdec05eba <dec05eba@protonmail.com>2023-06-27 02:28:47 +0200
commitcf0c9479deedcbfc0592ac6d207b22ebf3655567 (patch)
tree008982a234f0a5ea7d1021dc151278dd143e669f /src/GlobalLib.cpp
parent0697f410b05085cdaf767d5b6fd3fea056ec5bd3 (diff)
Add --cpu=baseline|native option, propagate sanitize setting to sub projectsHEADmaster
Diffstat (limited to 'src/GlobalLib.cpp')
-rw-r--r--src/GlobalLib.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GlobalLib.cpp b/src/GlobalLib.cpp
index dc45e23..94145c1 100644
--- a/src/GlobalLib.cpp
+++ b/src/GlobalLib.cpp
@@ -157,6 +157,7 @@ namespace sibs
sibsConfig.packaging = parentConfig.packaging;
sibsConfig.bundling = parentConfig.bundling;
sibsConfig.setSanitize(parentConfig.getSanitize());
+ sibsConfig.cpu = parentConfig.cpu;
sibsConfig.linker = parentConfig.linker;
sibsConfig.use_lto = parentConfig.use_lto;
sibsConfig.skipCompile = parentConfig.skipCompile;