diff options
Diffstat (limited to 'src/configure.cc')
-rw-r--r-- | src/configure.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/configure.cc b/src/configure.cc index 9eca0d6..675699d 100644 --- a/src/configure.cc +++ b/src/configure.cc @@ -120,12 +120,9 @@ std::string locate(const std::string& arch, const std::string& app) return {}; } -int configure(int argc, char* argv[]) +int configure(const Settings& global_settings, int argc, char* argv[]) { - Settings settings; - - settings.builddir = "build"; - + Settings settings{global_settings}; std::string cmd_str; for(int i = 0; i < argc; ++i) { |