diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-09 12:14:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-09 12:14:39 +0000 |
commit | ce29c1787731c8172b5210479459e772aef03bc8 (patch) | |
tree | ca16746bc4317780d8b9bf0c3b15636a6e293130 | |
parent | fe54190f68fa3326ea933bacc100f88878031797 (diff) | |
download | ruby-ce29c1787731c8172b5210479459e772aef03bc8.tar.gz |
* lib/mkmf.rb (configuration): set flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | enc/Makefile.in | 4 | ||||
-rw-r--r-- | lib/mkmf.rb | 4 |
3 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Mon Jun 9 21:14:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * lib/mkmf.rb (configuration): set flags. + Mon Jun 9 21:09:02 2008 Koichi Sasada <ko1@atdot.net> * bootstraptest/test_knownbug.rb -> ./test_knownbug.rb: moved. diff --git a/enc/Makefile.in b/enc/Makefile.in index cafeff964a..436c0f4e32 100644 --- a/enc/Makefile.in +++ b/enc/Makefile.in @@ -27,6 +27,10 @@ CC = @CC@ OUTFLAG = @OUTFLAG@$(empty) COUTFLAG = @COUTFLAG@$(empty) CFLAGS = $(CCDLFLAGS) @CFLAGS@ @ARCH_FLAG@ +cflags = @cflags@ +optflags = @optflags@ +debugflags = @debugflags@ +warnflags = @warnflags@ CCDLFLAGS = @CCDLFLAGS@ INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(top_srcdir) DEFS = @DEFS@ diff --git a/lib/mkmf.rb b/lib/mkmf.rb index b63dfb857d..74a20609b2 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1345,6 +1345,10 @@ OUTFLAG = #{OUTFLAG} COUTFLAG = #{COUTFLAG} RUBY_EXTCONF_H = #{$extconf_h} +cflags = #{CONFIG['cflags']} +optflags = #{CONFIG['optflags']} +debugflags = #{CONFIG['debugflags']} +warnflags = #{CONFIG['warnflags']} CFLAGS = #{$static ? '' : CONFIG['CCDLFLAGS']} #$CFLAGS #$ARCH_FLAG INCFLAGS = -I. #$INCFLAGS DEFS = #{CONFIG['DEFS']} |