fix passing invalid argument -NDEBUG

This commit is contained in:
Andrew Kelley 2019-03-07 16:53:44 -05:00
parent 3d2c48e4c9
commit 2bb6825baa
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -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");