From 6a066877754b7e42ec4386aa7b7c3e0d02226784 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 9 Nov 2026 08:42:16 -0800 Subject: [PATCH] caps: Build with gcc caps relies on GCC vector extensions that clang does not support, and on the register storage class, which C++17 removed, so build it with gcc when clang is the default toolchain. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-multimedia/recipes-multimedia/caps/caps_0.9.26.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-multimedia/recipes-multimedia/caps/caps_0.9.26.bb b/meta-multimedia/recipes-multimedia/caps/caps_0.9.26.bb index f33d7ad582..964d18a5de 100644 --- a/meta-multimedia/recipes-multimedia/caps/caps_0.9.26.bb +++ b/meta-multimedia/recipes-multimedia/caps/caps_0.9.26.bb @@ -16,6 +16,9 @@ EXTRA_OEMAKE = " \ CFLAGS='${CFLAGS} -ffast-math -funroll-loops -fPIC -DPIC' \ ARCH='' \ " +# Relies on GCC vector extensions and the register keyword +TOOLCHAIN = "gcc" + do_compile() { oe_runmake all }