Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
1351100200
:
1001689948
>
opt-qtwebkit
> 01_lflags_as-needed.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 01_lflags_as-needed.diff of Package opt-qtwebkit
Description: set --as-needed linker flag to avoid useless linking. Author: Fathi Boudra <fabo@debian.org> --- WebKit.pri | 2 ++ 1 file changed, 2 insertions(+) --- a/Source/WebKit.pri 2011/12/16 09:07:56 1.1 +++ b/Source/WebKit.pri 2011/12/16 09:09:01 @@ -100,6 +100,8 @@ CONFIG -= warn_on *-g++*:QMAKE_CXXFLAGS += -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self +*-g++*:QMAKE_LFLAGS += -Wl,--as-needed + # Treat warnings as errors on x86/Linux/GCC linux-g++* { !CONFIG(standalone_package):isEqual(QT_ARCH,x86_64)|isEqual(QT_ARCH,i386): QMAKE_CXXFLAGS += -Werror