blob: 92578dd11d64c39b762fb8858a0bbb597b571e96 [file] [log] [blame]
# SPDX-License-Identifier: Apache-2.0
if(NOT CONFIG_FPU)
list(APPEND TOOLCHAIN_C_FLAGS -msoft-float)
list(APPEND TOOLCHAIN_LD_FLAGS -msoft-float)
endif()
if(CONFIG_SPARC_CASA)
# SPARC V8, mul/div, casa
list(APPEND TOOLCHAIN_C_FLAGS -mcpu=leon3)
list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=leon3)
else()
# SPARC V8, mul/div, no casa
list(APPEND TOOLCHAIN_C_FLAGS -mcpu=leon)
list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=leon)
endif()