WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
15400
[Gtk] JavaScriptCore gets compiled with icu-config compiler flags prepended, instead of appended
https://bugs.webkit.org/show_bug.cgi?id=15400
Summary
[Gtk] JavaScriptCore gets compiled with icu-config compiler flags prepended, ...
Ed Schouten
Reported
2007-10-06 07:37:04 PDT
On my FreeBSD desktop, I can't compile WebKit, because the compiler flags of icu-config get prepended to the CXXFLAGS. The result: c++ -c -pipe -D_REENTRANT -I/usr/local/include -O2 -fno-strict-aliasing -pipe -Wall -W -DBUILDING_GTK__ -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I../../../../JavaScriptCore/kjs -I../../../../JavaScriptCore -I../../../../JavaScriptCore/kjs -I../../../../JavaScriptCore/bindings -I../../../../JavaScriptCore/bindings/c -I../../../../JavaScriptCore/wtf -Itmp -I../../../../JavaScriptCore -I../../../../JavaScriptCore/kjs -I../../../../JavaScriptCore/bindings -I../../../../JavaScriptCore/bindings/c -I../../../../JavaScriptCore/wtf -I../../../../JavaScriptCore/pcre -Itmp -I../../../../JavaScriptCore/kjs -I/usr/local/include -I. -o internal.o ../../../../JavaScriptCore/kjs/internal.cpp This causes inclusions like pcre.h to fail, because my system's pcre.h gets included, instead of the shipped one.
Attachments
Add attachment
proposed patch, testcase, etc.
Ed Schouten
Comment 1
2007-10-06 07:37:43 PDT
***
Bug 15399
has been marked as a duplicate of this bug. ***
Mark Rowe (bdash)
Comment 2
2007-10-06 09:19:49 PDT
I'm pretty sure this is caused by the following: WebKit.pri:19:gtk-port:QMAKE_CXXFLAGS += $$system(icu-config --cppflags) I'm not sure how to have qmake add the relevant flags at the end though.
Mike Hommey
Comment 3
2008-04-12 11:48:41 PDT
Does this still apply with autogen.sh ?
Alp Toker
Comment 4
2008-09-18 10:05:13 PDT
Please reopen bug if the issue persists.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug