Unverified Commit cb1946f2 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4233 from shuujii/remove-special-treatments-for-without-float-in-build-scripts

Remove special treatments for `MRB_WITHOUT_FLOAT` in build scripts
parents 3d32be6f 366a14f2
......@@ -7,10 +7,6 @@ MRuby::Gem::Specification.new('mruby-test') do |spec|
spec.add_dependency('mruby-compiler', :core => 'mruby-compiler')
spec.test_rbfiles = Dir.glob("#{MRUBY_ROOT}/test/t/*.rb")
if build.cc.defines.flatten.include?("MRB_WITHOUT_FLOAT")
spec.test_rbfiles.delete("#{MRUBY_ROOT}/test/t/float.rb")
end
clib = "#{build_dir}/mrbtest.c"
mlib = clib.ext(exts.object)
......
......@@ -5,7 +5,6 @@ MRuby.each_target do
objs = Dir.glob("#{current_dir}/*.c").map { |f|
next nil if cxx_exception_enabled? and f =~ /(error|vm).c$/
next nil if self.cc.defines.flatten.include?("MRB_WITHOUT_FLOAT") and f =~ /fmt_fp.c$/
objfile(f.pathmap("#{current_build_dir}/%n"))
}.compact
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment