-fno-omit-frame-pointer

This commit is contained in:
Motiejus Jakštys 2022-07-04 14:17:27 +03:00
parent 752b0bac6f
commit 7bab2553ec

View File

@ -44,7 +44,7 @@ pub fn build(b: *zbs.Builder) void {
}, &.{
"-W",
"-Wno-unused-function",
"-fomit-frame-pointer",
"-fno-omit-frame-pointer",
//"-DDEBUG",
});
cmph.addIncludeDir("deps/cmph/src");
@ -52,6 +52,7 @@ pub fn build(b: *zbs.Builder) void {
{
const exe = b.addExecutable("turbo-unix2db", "src/unix2db.zig");
exe.omit_frame_pointer = false;
exe.setTarget(target);
exe.setBuildMode(mode);
addCmphDeps(exe, cmph);