diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/build.cxx (renamed from src/manifest_builder.cxx) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manifest_builder.cxx b/src/build.cxx index 04d46c8..b0e759f 100644 --- a/src/manifest_builder.cxx +++ b/src/build.cxx @@ -78,9 +78,9 @@ bool ManifestBuilder::buildJson(int arg_sz, const char* arg_val) cmdLine += flag.get<std::string>() + " "; } - if (!buildme["compiler_std"].get<std::string>().empty()) + if (buildme["compiler_std"].is_string()) cmdLine += "-std=" + buildme["compiler_std"].get<std::string>() + " "; - + cmdLine += "-o " + buildme["output_name"].get<std::string>(); std::system(cmdLine.c_str()); |
