summaryrefslogtreecommitdiff
path: root/utils/mkdependC/mkdependC.prl
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mkdependC/mkdependC.prl')
-rw-r--r--utils/mkdependC/mkdependC.prl2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/mkdependC/mkdependC.prl b/utils/mkdependC/mkdependC.prl
index f7af53ac3c..166c3f16a7 100644
--- a/utils/mkdependC/mkdependC.prl
+++ b/utils/mkdependC/mkdependC.prl
@@ -122,6 +122,8 @@ sub mangle_command_line_args {
push(@Defines, $2);
} elsif ( /^(-optc)?(-I.*)/ ) {
$Include_dirs .= " $2";
+ } elsif ( /^(-optc)?(-isystem.*)/ ) {
+ $Include_dirs .= " $2";
} elsif ($Dashdashes_seen != 1) { # not between -- ... --
if ( /^-v$/ ) {