GHC new build system megapatch
[ghc-hetmet.git] / utils / mkdependC / mkdependC.prl
index f7af53a..166c3f1 100644 (file)
@@ -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$/ ) {