Skip to content

Commit 2bb6825

Browse files
committed
fix passing invalid argument -NDEBUG
1 parent 3d2c48e commit 2bb6825

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/link.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ static const char *build_libunwind(CodeGen *parent) {
142142
}
143143
if (parent->build_mode == BuildModeDebug) {
144144
c_file->args.append("-D_DEBUG");
145-
} else {
146-
c_file->args.append("-NDEBUG");
147145
}
148146
if (parent->is_single_threaded) {
149147
c_file->args.append("-D_LIBUNWIND_HAS_NO_THREADS");

0 commit comments

Comments
 (0)