never pass -s to clang
We only use clang to produce object files; the idea of stripping is not relevant here. Fixes regression in previous commit.
This commit is contained in:
@@ -2348,9 +2348,7 @@ pub fn addCCArgs(
|
||||
else => {},
|
||||
}
|
||||
|
||||
if (comp.bin_file.options.strip) {
|
||||
try argv.append("-s");
|
||||
} else {
|
||||
if (!comp.bin_file.options.strip) {
|
||||
try argv.append("-g");
|
||||
switch (comp.bin_file.options.object_format) {
|
||||
.coff, .pe => try argv.append("-gcodeview"),
|
||||
|
||||
Reference in New Issue
Block a user