mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
klibc: Edit out gcc hardcoding in do_compile
This is needed when building klcc-cross and klcc-cross does not have do_configure, therefore stick this just before do_compile Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -50,7 +50,7 @@ do_configure () {
|
|||||||
ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux
|
ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure_prepend_toolchain-clang() {
|
do_compile_prepend_toolchain-clang() {
|
||||||
sed -i -e 's#$(KLIBCROSS)gcc#$(KLIBCROSS)clang#g' ${S}/Makefile
|
sed -i -e 's#$(KLIBCROSS)gcc#$(KLIBCROSS)clang#g' ${S}/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user