aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gold/layout.cc')
-rw-r--r--gold/layout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/layout.cc b/gold/layout.cc
index b5490d665c0..2f56d27b266 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -218,7 +218,7 @@ Layout::Layout(int number_of_input_files, Script_options* script_options)
this->special_output_list_.reserve(2);
// Initialize structure needed for an incremental build.
- if (parameters->options().incremental())
+ if (parameters->incremental())
this->incremental_inputs_ = new Incremental_inputs;
// The section name pool is worth optimizing in all cases, because