From 3ad6bbc40c87f24819c6d8f25446bc74d348c822 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Fri, 7 Aug 2020 23:00:15 +0900 Subject: Add `target/host-cxx.rb` to compile `mruby` with `cxx_abi`. --- target/host-cxx.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/host-cxx.rb diff --git a/target/host-cxx.rb b/target/host-cxx.rb new file mode 100644 index 000000000..ae05e63c2 --- /dev/null +++ b/target/host-cxx.rb @@ -0,0 +1,13 @@ +MRuby::Build.new do |conf| + toolchain :gcc + + enable_debug + # include the default GEMs + conf.gembox 'full-core' + + # C compiler settings + conf.cc.defines = %w(MRB_ENABLE_DEBUG_HOOK) + conf.enable_debug + conf.enable_cxx_abi + conf.enable_test +end -- cgit v1.2.3