[Webkit-unassigned] [Bug 35213] [chromium] hardcoded gcc path breaks solaris build
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 24 11:04:54 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=35213
David Levin <levin at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #49255|review?, commit-queue? |review-
Flag| |
--- Comment #12 from David Levin <levin at chromium.org> 2010-02-24 11:04:54 PST ---
(From update of attachment 49255)
> Index: ChangeLog
> +2010-02-22 James Choi <jchoi42 at pha.jhu.edu>
> +
> + Change hardcoded gcc paths to be Solaris friendly
> + https://bugs.webkit.org/show_bug.cgi?id=35214
> +
> + * WebCore/bindings/scripts/CodeGeneratorObjC.pm, WebCore/bindings/scripts/IDLParser.pm, WebCore/css/make-css-file-arrays.pl, WebCore/dom/make_names.pl
Each file typically has its own line with a * before it. I imaging that is how
prepare-ChangeLog generated it but this looks odd to me.
> Index: WebCore/bindings/scripts/CodeGeneratorObjC.pm
In each of these changes, the line containing gcc has been duplicated
completely. It would be better if the change was only about the gcc location.
For example,
my $gccLocation = "";
if (($Config::Config{'osname'}) =~ /solaris/i) {
$gccLocation = "/usr/sfw/bin/gcc";
} else {
$gccLocation = "/usr/sfw/bin/gcc";
}
open FILE, "-|", $gccLocation, "-E", "-P", "-x", "objective-c",
(map { "-D$_" } split(/ +/, $defines)), "-DOBJC_CODE_GENERATION",
$fileName or die "Could not open $fileName";
Also please note the spaces around the =~ and before the {.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list