Most likely pointless to pass -I $COMPATH/include when using gcc

Surely gcc finds its default header location anyway.
This commit is contained in:
Tor Lillqvist
2011-07-03 16:37:39 +03:00
parent cee63e8ab6
commit 7c46fa4494

View File

@@ -1321,7 +1321,7 @@ if ($platform =~ m/solaris/ && ! $CC =~ "gcc")
$SOLARINC .= '/SC5 ';
}
# Platform dependent include path at the top of this list of include paths
if ($platform =~ m/solaris/)
if ($platform =~ m/solaris/ && ! $CC =~ "gcc")
{
$SOLARINC .= $I.$COMPATH.$INCLUDE;
}