Skip to content

Commit

Permalink
Compile without stack protection
Browse files Browse the repository at this point in the history
  • Loading branch information
BeanCheeseBurrito committed Nov 9, 2024
1 parent b970107 commit 9b07d0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Flecs.NET.Native/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ const Build = std.Build;

pub const LibType = enum { Shared, Static };

const src_flags = [_][]const u8{"-fno-sanitize=undefined"};
const src_flags = [_][]const u8{
"-fno-sanitize=undefined",
"-fno-stack-protector",
};

const src_files = [_][]const u8{
"../../native/flecs_helpers.c",
Expand Down

0 comments on commit 9b07d0c

Please sign in to comment.