Tests: disable LTO, strip

This commit is contained in:
Frank Denis 2022-11-27 21:49:13 +01:00
parent 1203bbcc4d
commit eee31da071

View File

@ -199,6 +199,8 @@ pub fn build(b: *std.build.Builder) !void {
exe.setTarget(target); exe.setTarget(target);
exe.setBuildMode(mode); exe.setBuildMode(mode);
exe.linkLibC(); exe.linkLibC();
exe.want_lto = false;
exe.strip = true;
exe.linkLibrary(static); exe.linkLibrary(static);
exe.addIncludePath("src/libsodium/include"); exe.addIncludePath("src/libsodium/include");
exe.addIncludePath("test/quirks"); exe.addIncludePath("test/quirks");