[前][次][番号順一覧][スレッド一覧]

ruby-changes:38024

From: naruse <ko1@a...>
Date: Sat, 28 Mar 2015 11:30:36 +0900 (JST)
Subject: [ruby-changes:38024] naruse:r50105 (trunk): fix r50104 [Bug #10906]

naruse	2015-03-28 11:30:17 +0900 (Sat, 28 Mar 2015)

  New Revision: 50105

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50105

  Log:
    fix r50104 [Bug #10906]

  Modified files:
    trunk/ext/date/extconf.rb
Index: ext/date/extconf.rb
===================================================================
--- ext/date/extconf.rb	(revision 50104)
+++ ext/date/extconf.rb	(revision 50105)
@@ -1,3 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ext/date/extconf.rb#L1
 require 'mkmf'
-try_cflags("-std=iso9899:1999")
+if try_cflags("-std=iso9899:1999")
+  $CFLAGS += " " << "-std=iso9899:1999"
+end
 create_makefile('date_core')

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]