diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-09-05 13:35:23 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-09-05 13:35:23 +0200 |
| commit | 3d704f48f37b5904a10a98668ebdd52e8bb6b595 (patch) | |
| tree | ea8133673aee934007299888d714a4ba0fef09bb /src | |
| parent | 2b9f5fb6fd0f8b9120a491b8d185d9bc20f6262f (diff) | |
[ FIX ] Fixed options to build with rust.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/manifest_builder.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/manifest_builder.cxx b/src/manifest_builder.cxx index a020782..04d46c8 100644 --- a/src/manifest_builder.cxx +++ b/src/manifest_builder.cxx @@ -78,7 +78,9 @@ bool ManifestBuilder::buildJson(int arg_sz, const char* arg_val) cmdLine += flag.get<std::string>() + " "; } - cmdLine += "-std=" + buildme["compiler_std"].get<std::string>() + " "; + if (!buildme["compiler_std"].get<std::string>().empty()) + cmdLine += "-std=" + buildme["compiler_std"].get<std::string>() + " "; + cmdLine += "-o " + buildme["output_name"].get<std::string>(); std::system(cmdLine.c_str()); |
