| ... | @@ -2286,9 +2286,9 @@ pub const LibExeObjStep = struct { | ... | @@ -2286,9 +2286,9 @@ pub const LibExeObjStep = struct { |
| 2286 | | 2286 | |
| 2287 | if (self.valgrind_support) |valgrind_support| { | 2287 | if (self.valgrind_support) |valgrind_support| { |
| 2288 | if (valgrind_support) { | 2288 | if (valgrind_support) { |
| 2289 | try zig_args.append("--enable-valgrind"); | 2289 | try zig_args.append("-fvalgrind"); |
| 2290 | } else { | 2290 | } else { |
| 2291 | try zig_args.append("--disable-valgrind"); | 2291 | try zig_args.append("-fno-valgrind"); |
| 2292 | } | 2292 | } |
| 2293 | } | 2293 | } |
| 2294 | | 2294 | |