From: Martin Jansa <martin.jansa@gmail.com>
To: "yanjun.zhu" <yanjun.zhu@windriver.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] pr-util: insert appropriate parameter to adapt libtool
Date: Mon, 18 Nov 2013 16:10:19 +0100 [thread overview]
Message-ID: <20131118151019.GC3727@jama> (raw)
In-Reply-To: <1384770701-30455-1-git-send-email-yanjun.zhu@windriver.com>
[-- Attachment #1: Type: text/plain, Size: 1426 bytes --]
On Mon, Nov 18, 2013 at 06:31:41PM +0800, yanjun.zhu wrote:
> When ccache is enabled, a parameter "ccache" is inserted.
> libtool can not handle this parameter correctly. So "--tag=CC"
> is introduced to help libtool handle it.
Typo in subject.
> ---
> meta/recipes-support/apr/apr-util_1.5.2.bb | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-support/apr/apr-util_1.5.2.bb b/meta/recipes-support/apr/apr-util_1.5.2.bb
> index ea0f7fb..d6ae394 100644
> --- a/meta/recipes-support/apr/apr-util_1.5.2.bb
> +++ b/meta/recipes-support/apr/apr-util_1.5.2.bb
> @@ -34,6 +34,11 @@ do_configure_append() {
> if [ "${CLASSOVERRIDE}" = "class-target" ]; then
> cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk
> fi
> +
> + # When ccache is enabled, libtool needs --tag=CC to choose correct handle methods.
> + if [ -f ${S}/build/rules.mk ]; then
> + sed -i "s,^LTFLAGS,LTFLAGS = --silent --tag=CC\n#LTFLAGS,g" ${S}/build/rules.mk
> + fi
> }
> do_configure_prepend_class-native() {
> cp ${STAGING_DATADIR_NATIVE}/apr/apr_rules.mk ${S}/build/rules.mk
> --
> 1.7.3.5
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
prev parent reply other threads:[~2013-11-18 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-18 10:31 [PATCH] pr-util: insert appropriate parameter to adapt libtool yanjun.zhu
2013-11-18 12:20 ` Richard Purdie
2013-11-19 8:40 ` yzhu1
2013-11-18 15:10 ` Martin Jansa [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=20131118151019.GC3727@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=yanjun.zhu@windriver.com \
/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