diff --git a/build.zig b/build.zig index 92e964e..d3e43ae 100644 --- a/build.zig +++ b/build.zig @@ -33,6 +33,7 @@ pub fn build(b: *std.build.Builder) void { const exe = b.addExecutable("aercbook", "src/main.zig"); exe.setTarget(target); exe.setBuildMode(mode); + exe.pie = true; exe.install(); const run_cmd = exe.run();