GCC does not understand the stdlib flag. Resulting in this error during configuration:
| x86_64-poky-linux-g++: error: unrecognized command line option | '-stdlib=libc++' Signed-off-by: Ricardo Ribalda Delgado <ricardo.riba...@gmail.com> --- recipes-devtools/clang/lld_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/clang/lld_git.bb b/recipes-devtools/clang/lld_git.bb index 5b31ff5fdbc8..31af909d25ad 100644 --- a/recipes-devtools/clang/lld_git.bb +++ b/recipes-devtools/clang/lld_git.bb @@ -34,7 +34,7 @@ OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" EXTRA_OECMAKE = "\ -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ " -CXXFLAGS += "-stdlib=libc++" +CXXFLAGS_toolchain-clang += "-stdlib=libc++" do_compile() { cd ${B}/tools/lld -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel