| Message ID | 20251022050810.1572184-5-raj.khem@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [1/5] libcap: Pass OE defined BUILD_CC and BUILD_LDFLAGS | expand |
On 22 Oct 2025, at 06:08, Khem Raj via lists.openembedded.org <raj.khem=gmail.com@lists.openembedded.org> wrote:
> +TOOLCHAIN_NATIVE = “gcc”
Can you add a comment showing what the error is so that we can test it in the future?
Ross
On Thu, Oct 23, 2025 at 5:17 AM Ross Burton <Ross.Burton@arm.com> wrote: > > On 22 Oct 2025, at 06:08, Khem Raj via lists.openembedded.org <raj.khem=gmail.com@lists.openembedded.org> wrote: > > +TOOLCHAIN_NATIVE = “gcc” > > Can you add a comment showing what the error is so that we can test it in the future? sure. I think it will be good to fix them but until then some comments wont hurt > > Ross
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.193.bb b/meta/recipes-devtools/elfutils/elfutils_0.193.bb index 29a8ee5af63..b4498fa76ed 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.193.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.193.bb @@ -33,6 +33,8 @@ EXTRA_OECONF = "--program-prefix=eu-" # Only used at runtime for make check but we want deterministic makefiles for ptest so hardcode CACHED_CONFIGUREVARS += "ac_cv_prog_HAVE_BUNZIP2=yes" +TOOLCHAIN_NATIVE = "gcc" + BUILD_CFLAGS += "-Wno-error=stringop-overflow" DEPENDS_BZIP2 = "bzip2-replacement-native"
Clang can not compile full elfutils for build host. Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta/recipes-devtools/elfutils/elfutils_0.193.bb | 2 ++ 1 file changed, 2 insertions(+)