diff options
Diffstat (limited to 'gold/parameters.cc')
-rw-r--r-- | gold/parameters.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/parameters.cc b/gold/parameters.cc index f240c1d..9c57ef3 100644 --- a/gold/parameters.cc +++ b/gold/parameters.cc @@ -74,7 +74,7 @@ const Target& Parameters::default_target() const { gold_assert(this->options_valid()); - if (this->options().oformat() != NULL) + if (this->options().user_set_oformat()) { const Target* target = select_target_by_name(this->options().oformat()); |