Fix #8081: remove -S from preprocessor compilation (#8133)

This commit is contained in:
Ofek
2025-09-24 15:59:14 +03:00
committed by GitHub
parent a971b1bc86
commit df5a83ea5b

View File

@@ -1293,6 +1293,9 @@ export class BaseCompiler {
compilerOptions.splice(compilerOptions.indexOf('-o'), 2);
}
// Avoid the warning/error "argument unused during compilation: '-S'"
compilerOptions = compilerOptions.filter(option => option !== '-S');
const ppOptions = _.extend(
{
'filter-headers': false,