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
This commit is contained in:
nobu 2014-03-16 04:21:48 +00:00
Родитель f5c2e89cd4
Коммит a1bb379726
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Sun Mar 16 13:21:40 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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 <e@80x24.org>
* gc.c (objspace_xcalloc): fix GC accounting

Просмотреть файл

@ -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])