diff options
author | Andrey Zhizhikin <andrey.z@gmail.com> | 2021-12-02 13:03:11 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-12-02 07:52:17 -0800 |
commit | ca5055ed28263c4fc878cbaed8dff9bc8e49a729 (patch) | |
tree | 829b4ea7dbc536823a7097005d96bf3af3d6312e /meta-oe/recipes-navigation | |
parent | d9a6d3ea3c25fe00ebbf2a6870ded6aeb129ec8e (diff) | |
download | meta-openembedded-ca5055ed28263c4fc878cbaed8dff9bc8e49a729.tar.gz |
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 <andrey.z@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation')
-rw-r--r-- | meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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() { | |||
48 | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" | 48 | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" |
49 | export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config" | 49 | export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config" |
50 | export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}" | 50 | export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}" |
51 | export CC="${CC}" | ||
51 | export LD="${CC}" | 52 | export LD="${CC}" |
52 | export LINKFLAGS="${LDFLAGS}" | 53 | export LINKFLAGS="${LDFLAGS}" |
53 | } | 54 | } |