From: Otavio Salvador <otavio@ossystems.com.br>
To: OpenEmbedded Core Mailing List
<openembedded-core@lists.openembedded.org>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Subject: [PATCH v2 5/5] meta-toolchain-qt.inc: Use CXX when linking
Date: Sun, 17 Feb 2013 14:53:12 -0300 [thread overview]
Message-ID: <1361123592-32572-5-git-send-email-otavio@ossystems.com.br> (raw)
In-Reply-To: <1361123592-32572-1-git-send-email-otavio@ossystems.com.br>
We should use CXX compiler when linking objects as done in regular
builds inside of OE-Core. This fixes issues we've been seeing in field
where we needed to change it byhand so the toolchain could work.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
meta/recipes-qt/meta/meta-toolchain-qt.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-qt/meta/meta-toolchain-qt.inc b/meta/recipes-qt/meta/meta-toolchain-qt.inc
index 107ba19..abf12fb 100644
--- a/meta/recipes-qt/meta/meta-toolchain-qt.inc
+++ b/meta/recipes-qt/meta/meta-toolchain-qt.inc
@@ -12,7 +12,7 @@ toolchain_create_sdk_env_script_append() {
echo 'export OE_QMAKE_LDFLAGS="$LDFLAGS"' >> $script
echo 'export OE_QMAKE_CC=$CC' >> $script
echo 'export OE_QMAKE_CXX=$CXX' >> $script
- echo 'export OE_QMAKE_LINK=$LD' >> $script
+ echo 'export OE_QMAKE_LINK=$CXX' >> $script
echo 'export OE_QMAKE_AR=$AR' >> $script
echo 'export OE_QMAKE_LIBDIR_QT=${SDKTARGETSYSROOT}/${libdir}' >> $script
echo 'export OE_QMAKE_INCDIR_QT=${SDKTARGETSYSROOT}/${includedir}/${QT_DIR_NAME}' >> $script
--
1.8.1
prev parent reply other threads:[~2013-02-17 18:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-17 17:53 [PATCH v2 1/5] perl: Add auto/XS/Typemap in perl-doc package Otavio Salvador
2013-02-17 17:53 ` [PATCH v2 2/5] dbus: Drop x11 support from nativesdk Otavio Salvador
2013-02-17 17:53 ` [PATCH v2 3/5] libsdl: Use 'virtual/nativesdk-libx11' instead of hardcoding nativesdk-libx11 Otavio Salvador
2013-02-17 17:53 ` [PATCH v2 4/5] qt4-tools: Drop libx11 dependency when building without 'x11' distro feature Otavio Salvador
2013-02-19 16:54 ` Saul Wold
2013-02-19 16:57 ` Otavio Salvador
2013-02-19 17:33 ` Richard Purdie
2013-02-19 17:37 ` Otavio Salvador
2013-02-17 17:53 ` Otavio Salvador [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1361123592-32572-5-git-send-email-otavio@ossystems.com.br \
--to=otavio@ossystems.com.br \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox