riscv-opts.mk 407 B

1234567891011
  1. # Extra flags during tools build
  2. riscv_target_flags = -fvisibility=hidden \
  3. -fno-pic -Wa,-fno-pic -fno-PIE \
  4. -frename-registers -fshort-enums -fshort-wchar \
  5. -ffunction-sections -fdata-sections \
  6. -mshorten-memrefs -mstrict-align -fno-exceptions
  7. # Additional flags during application build
  8. riscv_flags = $(riscv_target_flags) \
  9. -specs=nano.specs -Os -ggdb3 -fwrapv \
  10. -fno-strict-aliasing