diff options
Diffstat (limited to 'gold/parameters.cc')
-rw-r--r-- | gold/parameters.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/parameters.cc b/gold/parameters.cc index 9c57ef3..2e8bab7 100644 --- a/gold/parameters.cc +++ b/gold/parameters.cc @@ -45,6 +45,9 @@ Parameters::set_options(const General_options* options) // For speed, we convert the options() debug var from a string to an // enum (from debug.h). this->debug_ = debug_string_to_enum(this->options().debug()); + // If --verbose is set, it acts as "--debug=files". + if (options->verbose()) + this->debug_ |= DEBUG_FILES; } void |