diff options
| author | Carson McDonald <[email protected]> | 2013-05-13 10:16:52 -0400 |
|---|---|---|
| committer | Carson McDonald <[email protected]> | 2013-05-13 10:16:52 -0400 |
| commit | 9f43a2560298b7f947a7a8211112e7ccfc246b04 (patch) | |
| tree | fab893b4e8af0ac4f5dccd30c86f13e42d5a192e /build_config.rb | |
| parent | 7df8e6936e8a5545448cbaab3009ff574b627b36 (diff) | |
| download | mruby-9f43a2560298b7f947a7a8211112e7ccfc246b04.tar.gz mruby-9f43a2560298b7f947a7a8211112e7ccfc246b04.zip | |
Add example of modifying mrbc options to add debug info
Diffstat (limited to 'build_config.rb')
| -rw-r--r-- | build_config.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build_config.rb b/build_config.rb index a6502ac86..75c3520ea 100644 --- a/build_config.rb +++ b/build_config.rb @@ -25,6 +25,11 @@ MRuby::Build.new do |conf| # cc.compile_options = "%{flags} -MMD -o %{outfile} -c %{infile}" # end + # mrbc settings + # conf.mrbc do |mrbc| + # mrbc.compile_options = "-g -B%{funcname} -o- -" # The -g option is required for line numbers + # end + # Linker settings # conf.linker do |linker| # linker.command = ENV['LD'] || 'gcc' |
