Skip to content

Commit 2e098c3

Browse files
committed
merge revision(s) r47457: [Backport ruby#8315]
* lib/mkmf.rb (MakeMakefile#pkg_config): append --cflags to also $CXXFLAGS, as they are often used by C++ compiler. [ruby-core:54532] [Bug ruby#8315] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 1cbde5b commit 2e098c3

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Mon Sep 15 01:06:35 2014 Nobuyoshi Nakada <[email protected]>
2+
3+
* lib/mkmf.rb (MakeMakefile#pkg_config): append --cflags to also
4+
$CXXFLAGS, as they are often used by C++ compiler.
5+
[ruby-core:54532] [Bug #8315]
6+
17
Mon Sep 15 00:02:20 2014 Nobuyoshi Nakada <[email protected]>
28

39
* lib/csv.rb (CSV#<<): honor explicitly given encoding. based on

lib/mkmf.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,6 +1764,7 @@ def pkg_config(pkg, option=nil)
17641764
libs = get['libs-only-l']
17651765
ldflags = (Shellwords.shellwords(ldflags) - Shellwords.shellwords(libs)).quote.join(" ")
17661766
$CFLAGS += " " << cflags
1767+
$CXXFLAGS += " " << cflags
17671768
$LDFLAGS = [orig_ldflags, ldflags].join(' ')
17681769
$libs += " " << libs
17691770
Logging::message "package configuration for %s\n", pkg

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.1.2"
22
#define RUBY_RELEASE_DATE "2014-09-15"
3-
#define RUBY_PATCHLEVEL 236
3+
#define RUBY_PATCHLEVEL 237
44

55
#define RUBY_RELEASE_YEAR 2014
66
#define RUBY_RELEASE_MONTH 9

0 commit comments

Comments
 (0)