Debian Codegraph @

vendor/mruby-source/build_config/host-gprof.rb

raw
1 MRuby::Build.new do |conf|
2 # load specific toolchain settings
3 toolchain :gcc
4
5 # include the GEM box
6 conf.gembox 'full-core'
7
8 conf.cc.flags << '-pg'
9 conf.linker.flags << '-pg'
10
11 # Turn on `enable_debug` for better debugging
12 conf.enable_debug
13 conf.enable_test
14 end