diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-04 07:00:05 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-04 07:00:05 -0800 |
| commit | fe954098b30bc5cec1c0576831b12d089ccc188b (patch) | |
| tree | 6fedffc4719294243c96798040ba56ff1bd4dfb5 /tasks/mruby_build.rake | |
| parent | db2fed84d1414331b95f30d84912295a276c4837 (diff) | |
| parent | b8a6c5ce0d453ce22e31d12265978931e52c1957 (diff) | |
| download | mruby-fe954098b30bc5cec1c0576831b12d089ccc188b.tar.gz mruby-fe954098b30bc5cec1c0576831b12d089ccc188b.zip | |
Merge pull request #687 from masuidrive/fixed_mrbgems_issues
Fixed some mrbgems building issues
Diffstat (limited to 'tasks/mruby_build.rake')
| -rw-r--r-- | tasks/mruby_build.rake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tasks/mruby_build.rake b/tasks/mruby_build.rake index fad92c5e1..65c80ab6a 100644 --- a/tasks/mruby_build.rake +++ b/tasks/mruby_build.rake @@ -20,7 +20,7 @@ module MRuby attr_accessor :ld, :ldflags, :libs attr_accessor :ar attr_writer :cxx, :cxxflags - attr_writer :objcc, :objccflags + attr_writer :objcc, :objcflags attr_writer :asm, :asmflags attr_accessor :gperf, :yacc attr_accessor :cat, :git @@ -46,13 +46,13 @@ module MRuby end def cxx; @cxx || cc; end - def cxxflags; @cxxflags.empty? ? cflags : @cxxflags; end + def cxxflags; !@cxxflags || @cxxflags.empty? ? cflags : @cxxflags; end def objcc; @objcc || cc; end - def objccflags; @objccflags.empty? ? cflags : @objccflags; end + def objcflags; !@objcflags || @objcflags.empty? ? cflags : @objcflags; end def asm; @asm || cc; end - def asmflags; @asmflags.empty? ? cflags : @asmflags; end + def asmflags; !@asmflags || @asmflags.empty? ? cflags : @asmflags; end def ld; @ld || cc; end |
