# SPDX-License-Identifier: Apache-2.0 include(${ZEPHYR_BASE}/cmake/compiler/xcc/target.cmake) # Flags not supported by llext linker # (regexps are supported and match whole word) set(LLEXT_REMOVE_FLAGS -fno-pic -fno-pie -ffunction-sections -fdata-sections -g.* -Os -mcpu=.* ) # Flags to be added to llext code compilation set(LLEXT_APPEND_FLAGS -fPIC -nostdlib -nodefaultlibs )