From ca5055ed28263c4fc878cbaed8dff9bc8e49a729 Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin Date: Thu, 2 Dec 2021 13:03:11 +0000 Subject: gpsd: fix clang buid via export CC explicitly gpsd scons build system defaults CC to 'gcc', which prevents clang toolchain to be used. Export CC explicitly via environment to override default assignment in scons. Signed-off-by: Andrey Zhizhikin Signed-off-by: Khem Raj --- meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-oe/recipes-navigation') 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}" } -- cgit v1.2.3-54-g00ecf