aboutsummaryrefslogtreecommitdiff
path: root/gold/compressed_output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/compressed_output.cc')
-rw-r--r--gold/compressed_output.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/compressed_output.cc b/gold/compressed_output.cc
index 1eca021..e62eab2 100644
--- a/gold/compressed_output.cc
+++ b/gold/compressed_output.cc
@@ -112,7 +112,7 @@ Output_compressed_section::set_final_data_size()
this->write_to_postprocessing_buffer();
bool success = false;
- if (this->options_->zlib_compress_debug_sections())
+ if (strcmp(this->options_->compress_debug_sections(), "zlib") == 0)
success = zlib_compress(uncompressed_data, uncompressed_size,
&this->data_, &compressed_size);
if (success)