core/qt/qmake-linker-flags-as-needed.patch
Phil Miller 2b06bdbc94 * renamed qtmod and qtmod-phonon to qt and phonon
* PKGBUILD changes to fix build issues
2010-05-20 04:03:20 +00:00

17 lines
514 B
Diff

author: Fathi Boudra <fabo@debian.org>
workaround as LDFLAGS isn't honored by configure script.
Bug reported to Trolltech.
--- a/configure
+++ b/configure
@@ -583,6 +583,8 @@ mkdir -p "$outpath/config.tests"
rm -f "$outpath/config.tests/.qmake.cache"
cp "$QMAKE_VARS_FILE" "$outpath/config.tests/.qmake.cache"
+QMakeVar add QMAKE_LFLAGS -Wl,--as-needed
+
QMakeVar add styles "cde mac motif plastique cleanlooks windows"
QMakeVar add decorations "default windows styled"
QMakeVar add gfx-drivers "linuxfb"