mirror of
https://github.com/ziglang/zig.git
synced 2026-01-12 02:15:12 +00:00
fix passing invalid argument -NDEBUG
This commit is contained in:
parent
3d2c48e4c9
commit
2bb6825baa
@ -142,8 +142,6 @@ static const char *build_libunwind(CodeGen *parent) {
|
||||
}
|
||||
if (parent->build_mode == BuildModeDebug) {
|
||||
c_file->args.append("-D_DEBUG");
|
||||
} else {
|
||||
c_file->args.append("-NDEBUG");
|
||||
}
|
||||
if (parent->is_single_threaded) {
|
||||
c_file->args.append("-D_LIBUNWIND_HAS_NO_THREADS");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user