diff options
author | Eric Bénard <eric@eukrea.com> | 2012-01-25 18:22:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-01 15:07:42 +0000 |
commit | 37d93b9818f37bca8720655fbea28b5cb0577457 (patch) | |
tree | c1985856193ade3fcb34233d1566214bf4126845 /meta/recipes-qt/qt4/qt-4.8.0/configure-lflags.patch | |
parent | 9123e9eb9bf324e5cc45b535934583b0e37f378b (diff) | |
download | ast2050-yocto-poky-37d93b9818f37bca8720655fbea28b5cb0577457.zip ast2050-yocto-poky-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.patch | 18 |
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 0000000..d74f7fd --- /dev/null +++ b/meta/recipes-qt/qt4/qt-4.8.0/configure-lflags.patch @@ -0,0 +1,18 @@ +qt4-tools-native: set LFLAGS to pick up zlib from staging + +Original Author: Jeremy Lainé <jeremy.laine@m4x.org> +Upstream-Status: Pending + +Index: qt-everywhere-opensource-src-4.8.0/configure +=================================================================== +--- qt-everywhere-opensource-src-4.8.0.orig/configure ++++ qt-everywhere-opensource-src-4.8.0/configure +@@ -611,7 +611,7 @@ fi + # initalize variables + #------------------------------------------------------------------------------- + +-SYSTEM_VARIABLES="RANLIB STRIP OBJDUMP LD CC CXX CFLAGS CXXFLAGS LDFLAGS" ++SYSTEM_VARIABLES="RANLIB STRIP OBJDUMP LD CC CXX CFLAGS CXXFLAGS LDFLAGS LFLAGS" + for varname in $SYSTEM_VARIABLES; do + qmakevarname="${varname}" + # use LDFLAGS for autoconf compat, but qmake uses QMAKE_LFLAGS |