All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] gpsd: fix clang buid via export CC explicitly
@ 2021-12-02 12:53 Andrey Zhizhikin
  2021-12-02 13:03 ` [PATCH v2] " Andrey Zhizhikin
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Zhizhikin @ 2021-12-02 12:53 UTC (permalink / raw)
  To: openembedded-devel; +Cc: raj.khem, Andrey Zhizhikin

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-02 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-02 12:53 [meta-oe][PATCH] gpsd: fix clang buid via export CC explicitly Andrey Zhizhikin
2021-12-02 13:03 ` [PATCH v2] " Andrey Zhizhikin

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.