diff options
Diffstat (limited to 'build/mupdf.zig')
| -rw-r--r-- | build/mupdf.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/mupdf.zig b/build/mupdf.zig index 48dca46b..8ade36a5 100644 --- a/build/mupdf.zig +++ b/build/mupdf.zig @@ -242,7 +242,7 @@ pub fn addProbe(b: *std.Build, result: Result, options: struct { .name = "pardes-mupdf-probe", .root_module = b.createModule(.{ .target = options.target, - .optimize = .ReleaseSafe, + .optimize = .safe, .link_libc = true, }), }); @@ -350,7 +350,7 @@ fn makeSources(b: *std.Build, makelists: []const u8, variable: []const u8) []con if (!std.mem.startsWith(u8, assignment, "+=")) continue; const path = std.mem.trim(u8, assignment[2..], " \t\r"); if (!std.mem.endsWith(u8, path, ".c")) continue; - files[file_i] = b.dupe(path); + files[file_i] = b.graph.dupeString(path); file_i += 1; } return files; |
