diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-08-07 23:00:15 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:21:31 +0900 |
| commit | 3ad6bbc40c87f24819c6d8f25446bc74d348c822 (patch) | |
| tree | 5e4eb1b04861087e1d51a342be5736d0cfc8944c | |
| parent | 67d92c48b5c6d9a1ca15ac431bead11fbfe2868b (diff) | |
| download | mruby-3ad6bbc40c87f24819c6d8f25446bc74d348c822.tar.gz mruby-3ad6bbc40c87f24819c6d8f25446bc74d348c822.zip | |
Add `target/host-cxx.rb` to compile `mruby` with `cxx_abi`.
| -rw-r--r-- | target/host-cxx.rb | 13 |
1 files changed, 13 insertions, 0 deletions
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 |
