Title: [109206] trunk/Tools
Revision
109206
Author
rga...@webkit.org
Date
2012-02-29 04:33:16 -0800 (Wed, 29 Feb 2012)

Log Message

[GTK] Small fix for cross compilation to not generate gtkdoc.

Rubber-stamped by Csaba Osztrogonác.

* Scripts/webkitdirs.pm:
(isCrossCompilation):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (109205 => 109206)


--- trunk/Tools/ChangeLog	2012-02-29 08:58:22 UTC (rev 109205)
+++ trunk/Tools/ChangeLog	2012-02-29 12:33:16 UTC (rev 109206)
@@ -1,3 +1,12 @@
+2012-02-29  Gabor Rapcsanyi  <rga...@webkit.org>
+
+        [GTK] Small fix for cross compilation to not generate gtkdoc.
+
+        Rubber-stamped by Csaba Osztrogonác.
+
+        * Scripts/webkitdirs.pm:
+        (isCrossCompilation):
+
 2012-02-28  Lucas Forschler  <lforsch...@apple.com>
 
         Fix a typo in config.json

Modified: trunk/Tools/Scripts/webkitdirs.pm (109205 => 109206)


--- trunk/Tools/Scripts/webkitdirs.pm	2012-02-29 08:58:22 UTC (rev 109205)
+++ trunk/Tools/Scripts/webkitdirs.pm	2012-02-29 12:33:16 UTC (rev 109206)
@@ -1264,7 +1264,8 @@
 
 sub isCrossCompilation()
 {
-  my $compiler = "" unless $ENV{'CC'};
+  my $compiler = "";
+  $compiler = $ENV{'CC'} if (defined($ENV{'CC'}));
   if ($compiler =~ /gcc/) {
       my $compiler_options = `$compiler -v 2>&1`;
       my @host = $compiler_options =~ m/--host=(.*?)\s/;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to