wip compress-debug-sections
This commit is contained in:
parent
6c311b786f
commit
ef436294e9
@ -42,6 +42,7 @@ pub fn build(b: *zbs.Builder) void {
|
|||||||
//"-DDEBUG",
|
//"-DDEBUG",
|
||||||
});
|
});
|
||||||
cmph.strip = strip;
|
cmph.strip = strip;
|
||||||
|
cmph.compress_debug_sections = .zlib;
|
||||||
cmph.omit_frame_pointer = true;
|
cmph.omit_frame_pointer = true;
|
||||||
cmph.addIncludeDir("deps/cmph/src");
|
cmph.addIncludeDir("deps/cmph/src");
|
||||||
cmph.addIncludeDir("include/deps/cmph");
|
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");
|
const exe = b.addExecutable("turbonss-unix2db", "src/turbonss-unix2db.zig");
|
||||||
|
exe.compress_debug_sections = .zlib;
|
||||||
exe.strip = strip;
|
exe.strip = strip;
|
||||||
exe.setTarget(target);
|
exe.setTarget(target);
|
||||||
exe.setBuildMode(mode);
|
exe.setBuildMode(mode);
|
||||||
@ -74,6 +76,7 @@ pub fn build(b: *zbs.Builder) void {
|
|||||||
|
|
||||||
{
|
{
|
||||||
const exe = b.addExecutable("turbonss-analyze", "src/turbonss-analyze.zig");
|
const exe = b.addExecutable("turbonss-analyze", "src/turbonss-analyze.zig");
|
||||||
|
exe.compress_debug_sections = .zlib;
|
||||||
exe.strip = strip;
|
exe.strip = strip;
|
||||||
exe.setTarget(target);
|
exe.setTarget(target);
|
||||||
exe.setBuildMode(mode);
|
exe.setBuildMode(mode);
|
||||||
@ -82,6 +85,7 @@ pub fn build(b: *zbs.Builder) void {
|
|||||||
|
|
||||||
{
|
{
|
||||||
const exe = b.addExecutable("turbonss-getent", "src/turbonss-getent.zig");
|
const exe = b.addExecutable("turbonss-getent", "src/turbonss-getent.zig");
|
||||||
|
exe.compress_debug_sections = .zlib;
|
||||||
exe.strip = strip;
|
exe.strip = strip;
|
||||||
exe.linkLibC();
|
exe.linkLibC();
|
||||||
exe.linkLibrary(bdz);
|
exe.linkLibrary(bdz);
|
||||||
@ -99,6 +103,7 @@ pub fn build(b: *zbs.Builder) void {
|
|||||||
.patch = 0,
|
.patch = 0,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
so.compress_debug_sections = .zlib;
|
||||||
so.strip = strip;
|
so.strip = strip;
|
||||||
so.linkLibC();
|
so.linkLibC();
|
||||||
so.linkLibrary(bdz);
|
so.linkLibrary(bdz);
|
||||||
|
Loading…
Reference in New Issue
Block a user