aboutsummaryrefslogtreecommitdiff
path: root/backend/BackendUtils.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 /backend/BackendUtils.cpp
parent0697f410b05085cdaf767d5b6fd3fea056ec5bd3 (diff)
Add --cpu=baseline|native option, propagate sanitize setting to sub projectsHEADmaster
Diffstat (limited to 'backend/BackendUtils.cpp')
-rw-r--r--backend/BackendUtils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/BackendUtils.cpp b/backend/BackendUtils.cpp
index caeea3c..1109bf1 100644
--- a/backend/BackendUtils.cpp
+++ b/backend/BackendUtils.cpp
@@ -113,6 +113,8 @@ namespace backend
backend::Ninja *subProject = new backend::Ninja();
SibsConfig *subProjectConfig = new SibsConfig(sibsConfig.getCompiler(), file->path, sibsConfig.getOptimizationLevel(), false);
+ subProjectConfig->setSanitize(sibsConfig.getSanitize());
+ subProjectConfig->cpu = sibsConfig.cpu;
subProjectConfig->packaging = sibsConfig.packaging;
subProjectConfig->platform = sibsConfig.platform;
subProjectConfig->bundling = sibsConfig.bundling;