forked from WCH-Templates/CH32V203
Use default strict-align for target
This commit is contained in:
parent
95f0acc88c
commit
d1d767cdde
1 changed files with 1 additions and 1 deletions
|
@ -36,4 +36,4 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.siz
|
|||
|
||||
add_executable(${CMAKE_PROJECT_NAME}.elf ${SOURCES})
|
||||
|
||||
target_link_options(${CMAKE_PROJECT_NAME}.elf PRIVATE -T ${CMAKE_SOURCE_DIR}/Ld/Link.ld -Os -march=rv32imac_zicsr_zifencei -mabi=ilp32 -mstrict-align -nostartfiles -Xlinker -gc-sections -static --specs=nano.specs -mcmodel=medany)
|
||||
target_link_options(${CMAKE_PROJECT_NAME}.elf PRIVATE -T ${CMAKE_SOURCE_DIR}/Ld/Link.ld -Os -march=rv32imac_zicsr_zifencei -mabi=ilp32 -nostartfiles -Xlinker -gc-sections -static --specs=nano.specs -mcmodel=medany)
|
||||
|
|
Loading…
Reference in a new issue