Merge branch 'compress-debug-sections'
This commit is contained in:
commit
292c87a597
@ -42,6 +42,7 @@ pub fn build(b: *zbs.Builder) void {
|
||||
//"-DDEBUG",
|
||||
});
|
||||
cmph.strip = strip;
|
||||
cmph.compress_debug_sections = .zlib;
|
||||
cmph.omit_frame_pointer = true;
|
||||
cmph.addIncludeDir("deps/cmph/src");
|
||||
cmph.addIncludeDir("include/deps/cmph");
|
||||
@ -65,6 +66,7 @@ pub fn build(b: *zbs.Builder) void {
|
||||
|
||||
{
|
||||
const exe = b.addExecutable("turbonss-unix2db", "src/turbonss-unix2db.zig");
|
||||
exe.compress_debug_sections = .zlib;
|
||||
exe.strip = strip;
|
||||
exe.setTarget(target);
|
||||
exe.setBuildMode(mode);
|
||||
@ -74,6 +76,7 @@ pub fn build(b: *zbs.Builder) void {
|
||||
|
||||
{
|
||||
const exe = b.addExecutable("turbonss-analyze", "src/turbonss-analyze.zig");
|
||||
exe.compress_debug_sections = .zlib;
|
||||
exe.strip = strip;
|
||||
exe.setTarget(target);
|
||||
exe.setBuildMode(mode);
|
||||
@ -90,6 +93,7 @@ pub fn build(b: *zbs.Builder) void {
|
||||
|
||||
{
|
||||
const exe = b.addExecutable("turbonss-getent", "src/turbonss-getent.zig");
|
||||
exe.compress_debug_sections = .zlib;
|
||||
exe.strip = strip;
|
||||
exe.linkLibC();
|
||||
exe.linkLibrary(bdz);
|
||||
@ -107,6 +111,7 @@ pub fn build(b: *zbs.Builder) void {
|
||||
.patch = 0,
|
||||
},
|
||||
});
|
||||
so.compress_debug_sections = .zlib;
|
||||
so.strip = strip;
|
||||
so.linkLibC();
|
||||
so.linkLibrary(bdz);
|
||||
|
Loading…
Reference in New Issue
Block a user