summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt-4.8.0/configure-lflags.patch
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2012-01-25 18:22:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-01 15:07:42 +0000
commit37d93b9818f37bca8720655fbea28b5cb0577457 (patch)
treec1985856193ade3fcb34233d1566214bf4126845 /meta/recipes-qt/qt4/qt-4.8.0/configure-lflags.patch
parent9123e9eb9bf324e5cc45b535934583b0e37f378b (diff)
downloadpoky-37d93b9818f37bca8720655fbea28b5cb0577457.tar.gz
qt4-tools-nativesdk-4.8.0: fix build
the build is actually failing because host g++ and ld are used to compile and link (From OE-Core rev: 4ccae37db1aa77a1d15098c3720ea6e2d383fbdc) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt-4.8.0/configure-lflags.patch')
-rw-r--r--meta/recipes-qt/qt4/qt-4.8.0/configure-lflags.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt-4.8.0/configure-lflags.patch b/meta/recipes-qt/qt4/qt-4.8.0/configure-lflags.patch
new file mode 100644
index 0000000000..d74f7fde1a
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt-4.8.0/configure-lflags.patch
@@ -0,0 +1,18 @@
1qt4-tools-native: set LFLAGS to pick up zlib from staging
2
3Original Author: Jeremy Lainé <jeremy.laine@m4x.org>
4Upstream-Status: Pending
5
6Index: qt-everywhere-opensource-src-4.8.0/configure
7===================================================================
8--- qt-everywhere-opensource-src-4.8.0.orig/configure
9+++ qt-everywhere-opensource-src-4.8.0/configure
10@@ -611,7 +611,7 @@ fi
11 # initalize variables
12 #-------------------------------------------------------------------------------
13
14-SYSTEM_VARIABLES="RANLIB STRIP OBJDUMP LD CC CXX CFLAGS CXXFLAGS LDFLAGS"
15+SYSTEM_VARIABLES="RANLIB STRIP OBJDUMP LD CC CXX CFLAGS CXXFLAGS LDFLAGS LFLAGS"
16 for varname in $SYSTEM_VARIABLES; do
17 qmakevarname="${varname}"
18 # use LDFLAGS for autoconf compat, but qmake uses QMAKE_LFLAGS