mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2025-01-06 03:27:17 +03:00
mruby-builder: Add -g when mruby is built with debug
This keeps the debug information, allowing backtraces to function.
This commit is contained in:
parent
fa194767b8
commit
32efecce81
@ -70,6 +70,7 @@ assert attrs ? gems == false;
|
||||
(set -x
|
||||
rm -f irep.{c,o}
|
||||
mrbc \
|
||||
${optionalString mruby.debug "-g"} \
|
||||
-Bruby_irep \
|
||||
-oirep.c \
|
||||
"$@"
|
||||
|
Loading…
Reference in New Issue
Block a user