mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-14 16:07:25 +00:00
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 <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 file changed
+3
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user