arch/arc: Add -mcpu flag to TOOLCHAIN_LD_FLAGS
Make sure the linker knows what the target is, in case it needs to find additional target-specific libraries (like picolibc). Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
2d1d309936
commit
fc3f1480c5
1 changed files with 1 additions and 1 deletions
|
|
@ -9,4 +9,4 @@ if(NOT DEFINED GCC_ARC_TUNED_CPU)
|
|||
endif()
|
||||
|
||||
list(APPEND TOOLCHAIN_C_FLAGS -mcpu=${GCC_ARC_TUNED_CPU})
|
||||
|
||||
list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=${GCC_ARC_TUNED_CPU})
|
||||
|
|
|
|||
Loading…
Reference in a new issue