Bug 75003

Summary: [Qt] When building QtWebKit with the -ltcg configure option then it will fail to build
Product: WebKit Reporter: andy.shaw
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, pierre.rossi
Priority: P3 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fix for the build issue
none
Patch against trunk hausmann: review+, hausmann: commit-queue-

Description andy.shaw 2011-12-21 03:17:17 PST
Created attachment 120165 [details]
Fix for the build issue

The reason it fails is because -GL is still specified for the compile options which is still there despite lines in WebCore.pri removing this from the flags.  The reason being because it did not remove it from the right set of flags.

Patch attached fixes this so it is removed from the right set of flags.
Comment 1 andy.shaw 2011-12-21 03:50:53 PST
Created attachment 120167 [details]
Patch against trunk
Comment 2 Simon Hausmann 2012-01-11 07:33:02 PST
Comment on attachment 120167 [details]
Patch against trunk

rs=me but the patch will have to be applied manually because it's missing the Tools/ directory prefix.
Comment 3 Pierre Rossi 2012-01-11 16:05:19 PST
(In reply to comment #2)
> (From update of attachment 120167 [details])
> rs=me but the patch will have to be applied manually because it's missing the Tools/ directory prefix.

...and things had moved back to Source/WebCore in the meantime ;)

Landed in r104758
Comment 4 andy.shaw 2012-01-11 21:17:39 PST
Thanks!  Will this be included in Qt 4.8.1 as it is a build fix?  If so then I will not push it to the internal group of patches we have for Qt Commercial 4.8.1.
Comment 5 Benjamin Poulain 2012-01-12 00:28:33 PST
Hi Andy, nice to see you here :)