1# SPDX-License-Identifier: Apache-2.0 2 3if(EXISTS ${SOC_FULL_DIR}/tune_build_ops.cmake) 4 include(${SOC_FULL_DIR}/tune_build_ops.cmake) 5endif() 6 7if(NOT DEFINED GCC_ARC_TUNED_CPU) 8 set(GCC_ARC_TUNED_CPU ${GCC_M_CPU}) 9endif() 10 11list(APPEND TOOLCHAIN_C_FLAGS -mcpu=${GCC_ARC_TUNED_CPU}) 12list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=${GCC_ARC_TUNED_CPU}) 13