diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-26 22:49:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-26 22:49:40 +0200 |
commit | 977c50178f804dad2817bca98cb9b26affd5bf9a (patch) | |
tree | d67a604ccc686f5193a7d685ed3622f37b004c4b /idl | |
parent | 7c5a21dd4142c414de4e5925533e8cfbb6f329b0 (diff) |
idl: ignore -isystem args
Change-Id: I0758fd3117795ed68789385576aee5a885639104
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/prj/command.cxx | 12 |
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 ) ); |