ruby-changes:52118
From: k0kubun <ko1@a...>
Date: Mon, 13 Aug 2018 00:16:04 +0900 (JST)
Subject: [ruby-changes:52118] k0kubun:r64326 (trunk): configure.ac: use the correct argument
k0kubun 2018-08-13 00:16:00 +0900 (Mon, 13 Aug 2018) New Revision: 64326 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64326 Log: 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 Modified files: trunk/configure.ac Index: configure.ac =================================================================== --- configure.ac (revision 64325) +++ configure.ac (revision 64326) @@ -543,7 +543,7 @@ AS_IF([test "$GCC" = yes], [ https://github.com/ruby/ruby/blob/trunk/configure.ac#L543 ]) 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*], [ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/