-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", "-W",
"-Wno-unused-function", "-Wno-unused-function",
"-fomit-frame-pointer", "-fno-omit-frame-pointer",
//"-DDEBUG", //"-DDEBUG",
}); });
cmph.addIncludeDir("deps/cmph/src"); 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"); const exe = b.addExecutable("turbo-unix2db", "src/unix2db.zig");
exe.omit_frame_pointer = false;
exe.setTarget(target); exe.setTarget(target);
exe.setBuildMode(mode); exe.setBuildMode(mode);
addCmphDeps(exe, cmph); addCmphDeps(exe, cmph);