| author | |
| committer | |
| log | 1adac0a55bafbba864228ac38c4684612e84f522 |
| tree | c0e31c78ac65713a8e4919007ebfb841f45b40de |
| parent | e197a03124527035f1a92381eb6ef46d6f6d2c39 |
We only use clang to produce object files; the idea of stripping is not
relevant here.
Fixes regression in previous commit.1 files changed, 1 insertions(+), 3 deletions(-)
src/Compilation.zig+1-3| ... | ... | @@ -2348,9 +2348,7 @@ pub fn addCCArgs( |
| 2348 | 2348 | else => {}, |
| 2349 | 2349 | } |
| 2350 | 2350 | |
| 2351 | if (comp.bin_file.options.strip) { | |
| 2352 | try argv.append("-s"); | |
| 2353 | } else { | |
| 2351 | if (!comp.bin_file.options.strip) { | |
| 2354 | 2352 | try argv.append("-g"); |
| 2355 | 2353 | switch (comp.bin_file.options.object_format) { |
| 2356 | 2354 | .coff, .pe => try argv.append("-gcodeview"), |