Files
mruby-mruby/build_config/host-gprof.rb
T
2020-11-25 21:42:10 +09:00

15 lines
277 B
Ruby

MRuby::Build.new do |conf|
# load specific toolchain settings
toolchain :gcc
# include the GEM box
conf.gembox 'default'
conf.cc.flags << '-pg'
conf.linker.flags << '-pg'
# Turn on `enable_debug` for better debugging
conf.enable_debug
conf.enable_test
end