diff options
Diffstat (limited to 'WebCore/bindings/scripts/IDLParser.pm')
-rw-r--r-- | WebCore/bindings/scripts/IDLParser.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/bindings/scripts/IDLParser.pm b/WebCore/bindings/scripts/IDLParser.pm index c6742dc..5b7beb3 100644 --- a/WebCore/bindings/scripts/IDLParser.pm +++ b/WebCore/bindings/scripts/IDLParser.pm @@ -66,7 +66,9 @@ sub Parse if (!$preprocessor) { require Config; my $gccLocation = ""; - if (($Config::Config{'osname'}) =~ /solaris/i) { + if ($ENV{CC}) { + $gccLocation = $ENV{CC}; + } elsif (($Config::Config{'osname'}) =~ /solaris/i) { $gccLocation = "/usr/sfw/bin/gcc"; } else { $gccLocation = "/usr/bin/gcc"; |