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