File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Mon Sep 15 11:08:23 2014 Shota Fukumori <her@sorah.jp>
2+
3+ * lib/mkmf.rb (configuration): Make CXXFLAGS customizable.
4+ Patch by Kohei Suzuki (eagletmt). [Fixes GH-492]
5+
16Mon Sep 15 01:06:35 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
27
38 * lib/mkmf.rb (MakeMakefile#pkg_config): append --cflags to also
Original file line number Diff line number Diff line change @@ -1906,7 +1906,7 @@ def configuration(srcdir)
19061906INCFLAGS = -I. #$INCFLAGS
19071907DEFS = #{ CONFIG [ 'DEFS' ] }
19081908CPPFLAGS = #{ extconf_h } #{ $CPPFLAGS}
1909- CXXFLAGS = $(CCDLFLAGS) #{ CONFIG [ ' CXXFLAGS' ] } $(ARCH_FLAG)
1909+ CXXFLAGS = $(CCDLFLAGS) #$ CXXFLAGS $(ARCH_FLAG)
19101910ldflags = #{ $LDFLAGS}
19111911dldflags = #{ $DLDFLAGS} #{ CONFIG [ 'EXTDLDFLAGS' ] }
19121912ARCH_FLAG = #{ $ARCH_FLAG}
@@ -2399,6 +2399,7 @@ def init_mkmf(config = CONFIG, rbconfig = RbConfig::CONFIG)
23992399 $warnflags = config [ 'warnflags' ] unless $extmk
24002400 end
24012401 $CFLAGS = with_config ( "cflags" , arg_config ( "CFLAGS" , config [ "CFLAGS" ] ) ) . dup
2402+ $CXXFLAGS = ( with_config ( "cxxflags" , arg_config ( "CXXFLAGS" , config [ "CXXFLAGS" ] ) ) ||'' ) . dup
24022403 $ARCH_FLAG = with_config ( "arch_flag" , arg_config ( "ARCH_FLAG" , config [ "ARCH_FLAG" ] ) ) . dup
24032404 $CPPFLAGS = with_config ( "cppflags" , arg_config ( "CPPFLAGS" , config [ "CPPFLAGS" ] ) ) . dup
24042405 $LDFLAGS = with_config ( "ldflags" , arg_config ( "LDFLAGS" , config [ "LDFLAGS" ] ) ) . dup
Original file line number Diff line number Diff line change 11#define RUBY_VERSION "2.1.2"
22#define RUBY_RELEASE_DATE "2014-09-15"
3- #define RUBY_PATCHLEVEL 237
3+ #define RUBY_PATCHLEVEL 238
44
55#define RUBY_RELEASE_YEAR 2014
66#define RUBY_RELEASE_MONTH 9
You can’t perform that action at this time.
0 commit comments