gtk4-layer-shell: reenable ubsan
parent
ce47a85bf7
commit
82a5c177fe
|
|
@ -120,16 +120,6 @@ fn buildLib(b: *std.Build, module: *std.Build.Module, options: anytype) !*std.Bu
|
|||
b.fmt("-DGTK_LAYER_SHELL_MAJOR={}", .{lib_version.major}),
|
||||
b.fmt("-DGTK_LAYER_SHELL_MINOR={}", .{lib_version.minor}),
|
||||
b.fmt("-DGTK_LAYER_SHELL_MICRO={}", .{lib_version.patch}),
|
||||
|
||||
// Zig 0.14 regression: this is required because building with
|
||||
// ubsan results in unknown symbols. Bundling the ubsan/compiler
|
||||
// RT doesn't help. I'm not sure what the root cause is but I
|
||||
// suspect its related to this:
|
||||
// https://github.com/ziglang/zig/issues/23052
|
||||
//
|
||||
// We can remove this in the future for Zig updates and see
|
||||
// if our binaries run in debug on NixOS.
|
||||
"-fno-sanitize=undefined",
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue