summaryrefslogtreecommitdiffhomepage
path: root/build_config.rb
diff options
context:
space:
mode:
authortake_cheeze <[email protected]>2014-03-01 18:12:43 +0900
committertake_cheeze <[email protected]>2014-03-01 20:05:31 +0900
commit0c8bac5a38f63c89a1e357b3b2d1f6394b12e75c (patch)
tree2686ebfb5ba3cdd5a17671ba57def283254ec319 /build_config.rb
parent7e11388dc48c39495357844035113533aeaa2c51 (diff)
downloadmruby-0c8bac5a38f63c89a1e357b3b2d1f6394b12e75c.tar.gz
mruby-0c8bac5a38f63c89a1e357b3b2d1f6394b12e75c.zip
revert wrong build_config.rb
Diffstat (limited to 'build_config.rb')
-rw-r--r--build_config.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/build_config.rb b/build_config.rb
index f76e927b4..e8d07769d 100644
--- a/build_config.rb
+++ b/build_config.rb
@@ -4,14 +4,11 @@ MRuby::Build.new do |conf|
# Gets set by the VS command prompts.
if ENV['VisualStudioVersion']
toolchain :visualcpp
- #elsif `uname` =~ /Darwin/
- #toolchain :clang
else
toolchain :gcc
end
enable_debug
- enable_cxx_abi
# Use mrbgems
# conf.gem 'examples/mrbgems/ruby_extension_example'
@@ -25,24 +22,6 @@ MRuby::Build.new do |conf|
# include the default GEMs
conf.gembox 'default'
- conf.enable_bintest = true
-
- conf.cc.flags = ['gcc'] + conf.cc.flags # [conf.cc.command] + conf.cc.flags
- conf.cc.command = 'ccache'
- conf.cc.flags += %w[-O0 -Wall -Wextra -Wno-parentheses-equality -Wdeclaration-after-statement -Werror=declaration-after-statement]
-
- conf.cxx.flags = [conf.cxx.command] + conf.cxx.flags
- conf.cxx.command = 'ccache'
- conf.cxx.flags += %w[-O0 -Wall -Wextra -Wno-parentheses-equality -Werror-declaration-after-statement]
-
- conf.linker.command = 'clang++'
-
- conf.cc.defines << 'MRB_GC_FIXED_ARENA' # conf.enable_mrbconf :gc_fixed_arena
- # conf.gem "#{MRUBY_ROOT}/mruby-uv"
- conf.gem "#{MRUBY_ROOT}/mruby-sharedlib"
- # conf.gem "#{MRUBY_ROOT}/mruby-onig-regexp"
- conf.gem :core => 'mruby-bin-strip'
-
# C compiler settings
# conf.cc do |cc|
# cc.command = ENV['CC'] || 'gcc'