| ... | @@ -142,8 +142,6 @@ static const char *build_libunwind(CodeGen *parent) { | ... | @@ -142,8 +142,6 @@ static const char *build_libunwind(CodeGen *parent) { |
| 142 | } | 142 | } |
| 143 | if (parent->build_mode == BuildModeDebug) { | 143 | if (parent->build_mode == BuildModeDebug) { |
| 144 | c_file->args.append("-D_DEBUG"); | 144 | c_file->args.append("-D_DEBUG"); |
| 145 | } else { | | |
| 146 | c_file->args.append("-NDEBUG"); | | |
| 147 | } | 145 | } |
| 148 | if (parent->is_single_threaded) { | 146 | if (parent->is_single_threaded) { |
| 149 | c_file->args.append("-D_LIBUNWIND_HAS_NO_THREADS"); | 147 | c_file->args.append("-D_LIBUNWIND_HAS_NO_THREADS"); |