| ... | @@ -348,6 +348,10 @@ static void construct_linker_job_coff(LinkJob *lj) { | ... | @@ -348,6 +348,10 @@ static void construct_linker_job_coff(LinkJob *lj) { |
| 348 | | 348 | |
| 349 | lj->args.append("-NOLOGO"); | 349 | lj->args.append("-NOLOGO"); |
| 350 | | 350 | |
| | 351 | if (!g->strip_debug_symbols) { |
| | 352 | lj->args.append("-DEBUG"); |
| | 353 | } |
| | 354 | |
| 351 | coff_append_machine_arg(g, &lj->args); | 355 | coff_append_machine_arg(g, &lj->args); |
| 352 | | 356 | |
| 353 | if (g->windows_subsystem_windows) { | 357 | if (g->windows_subsystem_windows) { |