1
1
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:
Samuel Dionne-Riel 2021-08-17 23:59:30 -04:00
parent fa194767b8
commit 32efecce81

View File

@ -70,6 +70,7 @@ assert attrs ? gems == false;
(set -x
rm -f irep.{c,o}
mrbc \
${optionalString mruby.debug "-g"} \
-Bruby_irep \
-oirep.c \
"$@"