From a1bb379726ec7318251504ca9d6256a5baf408da Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 16 Mar 2014 04:21:48 +0000 Subject: configure.in: insert a space for non-GCC * configure.in (DLDFLAGS): insert a space between option and its argument for non-GCC compilers. [ruby-core:61429] [Bug #9624] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ configure.in | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 748026dc16..9913eacb60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Mar 16 13:21:40 2014 Nobuyoshi Nakada + + * configure.in (DLDFLAGS): insert a space between option and its + argument for non-GCC compilers. [ruby-core:61429] [Bug #9624] + Sun Mar 16 08:05:06 2014 Eric Wong * gc.c (objspace_xcalloc): fix GC accounting diff --git a/configure.in b/configure.in index f4a5cc2ca0..d13ba035dc 100644 --- a/configure.in +++ b/configure.in @@ -2772,9 +2772,10 @@ if test "$with_dln_a_out" != yes; then AS_CASE(["$target_os"], [darwin*], [ for flag in \ - "${linker_flag}-undefined${linker_flag:+,}dynamic_lookup" \ - "${linker_flag}-multiply_defined${linker_flag:+,}suppress" \ + "-undefined dynamic_lookup" \ + "-multiply_defined suppress" \ ; do + test "x${linker_flag}" = x || flag="${linker_flag}${flag// /,}" RUBY_TRY_LDFLAGS([$flag], [], [flag=]) if test "x$flag" != x; then RUBY_APPEND_OPTIONS(DLDFLAGS, [$flag]) -- cgit v1.2.3