diff mbox series

[4/5] pkgconfig: Always use gcc for native compiler

Message ID 20251022050810.1572184-4-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
It has build errors with clang especially on native builds.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
index f537c635ef2..103b3e042a0 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
@@ -20,6 +20,8 @@  SRC_URI = "git://gitlab.freedesktop.org/pkg-config/pkg-config.git;branch=master;
 
 inherit autotools
 
+TOOLCHAIN_NATIVE = "gcc"
+
 # Because of a faulty test, the current auto mode always evaluates to no,
 # so just continue that behaviour.
 #