| ... | @@ -2348,9 +2348,7 @@ pub fn addCCArgs( | ... | @@ -2348,9 +2348,7 @@ pub fn addCCArgs( |
| 2348 | else => {}, | 2348 | else => {}, |
| 2349 | } | 2349 | } |
| 2350 | | 2350 | |
| 2351 | if (comp.bin_file.options.strip) { | 2351 | if (!comp.bin_file.options.strip) { |
| 2352 | try argv.append("-s"); | | |
| 2353 | } else { | | |
| 2354 | try argv.append("-g"); | 2352 | try argv.append("-g"); |
| 2355 | switch (comp.bin_file.options.object_format) { | 2353 | switch (comp.bin_file.options.object_format) { |
| 2356 | .coff, .pe => try argv.append("-gcodeview"), | 2354 | .coff, .pe => try argv.append("-gcodeview"), |