From: Andrey Zhizhikin <andrey.z@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: raj.khem@gmail.com, Andrey Zhizhikin <andrey.z@gmail.com>
Subject: [meta-oe][PATCH] gpsd: fix clang buid via export CC explicitly
Date: Thu, 2 Dec 2021 12:53:59 +0000 [thread overview]
Message-ID: <20211202125359.2071687-1-andrey.z@gmail.com> (raw)
gpsd scons build system defaults CC to 'gcc', which prevents clang
toolchain to be used.
Export CC and CPP explicitly via environment to override default
assignments in scons.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
---
meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb
index ace907bc0..c11d4c76d 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb
@@ -48,6 +48,7 @@ do_compile:prepend() {
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}"
export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config"
export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}"
+ export CC="${CC}"
export LD="${CC}"
export LINKFLAGS="${LDFLAGS}"
}
--
2.25.1
next reply other threads:[~2021-12-02 12:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-02 12:53 Andrey Zhizhikin [this message]
2021-12-02 13:03 ` [PATCH v2] gpsd: fix clang buid via export CC explicitly Andrey Zhizhikin
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=20211202125359.2071687-1-andrey.z@gmail.com \
--to=andrey.z@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=raj.khem@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.