diff options
Diffstat (limited to 'gold/gold.cc')
-rw-r--r-- | gold/gold.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/gold.cc b/gold/gold.cc index cb29e7d9..24542a2 100644 --- a/gold/gold.cc +++ b/gold/gold.cc @@ -382,7 +382,7 @@ queue_middle_tasks(const General_options& options, // pass an empty archive to the linker and get an empty object file // out. In order to do this we need to use a default target. if (input_objects->number_of_input_objects() == 0) - set_parameters_target(¶meters->default_target()); + parameters_force_valid_target(); int thread_count = options.thread_count_middle(); if (thread_count == 0) |