# Extra flags during tools build riscv_target_flags = -Os -ggdb3 -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 \ -falign-functions=4 # Additional flags during application build riscv_flags = $(riscv_target_flags) \ -fwrapv -fno-strict-aliasing