diff mbox series

[5/5] elfutils: Always use gcc for native compiler

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

Commit Message

Khem Raj Oct. 22, 2025, 5:08 a.m. UTC
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(+)
diff mbox series

Patch

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"