From 25c79f446d8bccbb88b5ba98817054f5a12a8c47 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 12 Aug 2018 15:16:00 +0000 Subject: [PATCH] configure.ac: use the correct argument for --compress-debug-sections. I thought "no" is the correct one because configure.ac has `AS_IF([test "x$compress_debug_sections" != xno]`, but it wasn't the case. This commit is needed to resolve errors like: /usr/bin/x86_64-linux-gnu-ld: invalid --compress-debug-sections option: `no' collect2: error: ld returned 1 exit status git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8db1c90701..358acbe261 100644 --- a/configure.ac +++ b/configure.ac @@ -543,7 +543,7 @@ AS_IF([test "$GCC" = yes], [ ]) AS_IF([test "x$compress_debug_sections" != xno], [ RUBY_APPEND_OPTION(DLDFLAGS, ${linker_flag}--compress-debug-sections=$compress_debug_sections) - RUBY_APPEND_OPTION(MJIT_DLDFLAGS_NOCOMPRESS, ${linker_flag}--compress-debug-sections=no) + RUBY_APPEND_OPTION(MJIT_DLDFLAGS_NOCOMPRESS, ${linker_flag}--compress-debug-sections=none) ]) AS_CASE(["$target_os"],[mingw*], [