diff --git a/ide/compiler.pp b/ide/compiler.pp index d93f27ff20..8806279f11 100644 --- a/ide/compiler.pp +++ b/ide/compiler.pp @@ -676,6 +676,8 @@ procedure TCompilerOptSet.AddOptions(aDescr: string; aIndent: integer); var OptSet: TCompilerOpt; begin + // Ignore -vl and -vs + if (fOption = '-v') and (aDescr[1] in ['l', 's']) then Exit; OptSet := TCompilerOpt.Create(Self); // Add it under a group OptSet.fIndentation := aIndent; OptSet.fOption := aDescr[1];