Make debug builds use glibc (to allow sanitizers)

This commit is contained in:
2026-07-28 14:13:25 +01:00
parent 9ac1407907
commit 425ffddf71
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ MRUBY_CFLAGS ?= -I./libs/mruby/build/host/include
MRUBY_LIBS ?= -L./libs/mruby/build/host/lib -lmruby MRUBY_LIBS ?= -L./libs/mruby/build/host/lib -lmruby
CFLAGS_DEBUG :=\ CFLAGS_DEBUG :=\
-std=c++26 -Wall -Wextra -static \ -std=c++26 -Wall -Wextra \
-O0 -fno-inline -gsplit-dwarf \ -O0 -fno-inline -gsplit-dwarf \
-g -fno-omit-frame-pointer -ffast-math \ -g -fno-omit-frame-pointer -ffast-math \
-I./include -I./libs/unicode_width -I./include -I./libs/unicode_width
+1 -1
View File
@@ -88,7 +88,7 @@
mruby = mruby; mruby = mruby;
}; };
devShells.${system}.default = pkgs.mkShell { devShells.${system}.default = hostPkgs.mkShell {
inputsFrom = [ crib ]; inputsFrom = [ crib ];
packages = [ packages = [