Remove endian configuration methods.

Since we made our opcode byte based, we need no endian option (`-e`
and `-E`) to `mrbc`.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-06-10 14:17:05 +09:00
parent a8aeba89ef
commit f0bad600e0
-21
View File
@@ -388,26 +388,5 @@ EOS
@test_runner.run(mrbtest)
end
end
def big_endian
if @endian
puts "Endian has already specified as #{@endian}."
return
end
@endian = :big
@mrbc.compile_options += ' -E'
compilers.each do |c|
c.defines += %w(MRB_ENDIAN_BIG)
end
end
def little_endian
if @endian
puts "Endian has already specified as #{@endian}."
return
end
@endian = :little
@mrbc.compile_options += ' -e'
end
end # CrossBuild
end # MRuby