- # Extra flags during tools build
- riscv_target_flags = -fvisibility=hidden -fno-pic \
- -frename-registers -fshort-enums -fshort-wchar \
- -ffunction-sections -fdata-sections \
- -mshorten-memrefs -mdiv -mstrict-align
- # Additional flags during application build
- riscv_flags = $(riscv_target_flags) \
- -specs=nano.specs -Os -ggdb3 -fwrapv \
- -fno-strict-aliasing
|