summaryrefslogtreecommitdiff
path: root/set_soenv.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-07-03 16:37:39 +0300
committerTor Lillqvist <tml@iki.fi>2011-07-03 16:47:19 +0300
commit7c46fa44948339eee2ac8e47b12a70bd5a7211d7 (patch)
tree61f03f5da2f0c9297d722a359d46cfc45f34d32d /set_soenv.in
parentcee63e8ab6fe351ce0dc3458127a9f96644fce9c (diff)
Most likely pointless to pass -I $COMPATH/include when using gcc
Surely gcc finds its default header location anyway.
Diffstat (limited to 'set_soenv.in')
-rwxr-xr-xset_soenv.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/set_soenv.in b/set_soenv.in
index 62283e1db665..022a86ea81ca 100755
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -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;
}