summaryrefslogtreecommitdiffhomepage
path: root/build_config/host-nofloat.rb
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-06-22 16:33:42 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-06-22 16:36:26 +0900
commit388bcb15e83af2e2eb1d9d5b9b20c66b05b7d8ef (patch)
tree2fa9e7940bd0a81e860adb5893297a9f4373884f /build_config/host-nofloat.rb
parentfc6210763ca6c440e1992700df07948fe6ae97b4 (diff)
downloadmruby-388bcb15e83af2e2eb1d9d5b9b20c66b05b7d8ef.tar.gz
mruby-388bcb15e83af2e2eb1d9d5b9b20c66b05b7d8ef.zip
Rename two files for consistency; close #5488
* android_arm64-v8a.rb -> android_arm64_v8a.rb * no-float.rb -> host-nofloat.rb
Diffstat (limited to 'build_config/host-nofloat.rb')
-rw-r--r--build_config/host-nofloat.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/build_config/host-nofloat.rb b/build_config/host-nofloat.rb
new file mode 100644
index 000000000..977bf4e12
--- /dev/null
+++ b/build_config/host-nofloat.rb
@@ -0,0 +1,22 @@
+MRuby::Build.new do |conf|
+ # load specific toolchain settings
+ toolchain :gcc
+
+ # include the GEM box
+ conf.gembox "stdlib"
+ conf.gembox "stdlib-ext"
+ conf.gembox "stdlib-io"
+ conf.gembox "metaprog"
+
+ conf.gem :core => 'mruby-bin-mruby'
+ conf.gem :core => 'mruby-bin-mirb'
+
+ # Add configuration
+ conf.compilers.each do |c|
+ c.defines << "MRB_NO_FLOAT"
+ end
+
+ conf.enable_debug
+ conf.enable_test
+ conf.enable_bintest
+end