summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--idl/source/prj/command.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx
index 896ed4d6ca1b..9eceab119581 100644
--- a/idl/source/prj/command.cxx
+++ b/idl/source/prj/command.cxx
@@ -316,6 +316,18 @@ SvCommand::SvCommand( int argc, char ** argv )
while(SyntaxStrings[j])
printf("%s\n",SyntaxStrings[j++]);
}
+ else if (aParam == "isystem")
+ {
+ // ignore "-isystem" and following arg
+ if (i < aList.size())
+ {
+ ++i;
+ }
+ }
+ else if (aParam.startsWith("isystem"))
+ {
+ // ignore args starting with "-isystem"
+ }
else if( aParam.startsWithIgnoreAsciiCase( "i" ) )
{ // define include paths
OUString aName( aParam.copy( 1 ) );