From 827909b7b9d5730aca497e138762be3c3c2f3413 Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Fri, 8 Nov 2024 17:23:12 +0100 Subject: [PATCH] LLEXT: Xtensa: don't generate FLIX commands The LLEXT linker for Xtensa cannot relocate FLIX commands, disable them in extensions only until we have a solution. Note, that this only affects extensions, the main Zephyr binary is still built with FLIX commands. Signed-off-by: Guennadi Liakhovetski --- cmake/compiler/xt-clang/target.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/compiler/xt-clang/target.cmake b/cmake/compiler/xt-clang/target.cmake index 32def2e5b8f..978bc7c7860 100644 --- a/cmake/compiler/xt-clang/target.cmake +++ b/cmake/compiler/xt-clang/target.cmake @@ -29,5 +29,6 @@ set(LLEXT_APPEND_FLAGS ${LLEXT_APPEND_FLAGS} else() set(LLEXT_APPEND_FLAGS ${LLEXT_APPEND_FLAGS} -ffreestanding + -mno-generate-flix ) endif()