native.mk 417 B

123456789101112131415161718192021222324
  1. CC = gcc
  2. OBJCOPY =
  3. OBJDUMP =
  4. SIZE =
  5. AR =
  6. NM =
  7. HEX =
  8. EEP =
  9. BIN =
  10. COMPILEFLAGS += -funsigned-char
  11. COMPILEFLAGS += -funsigned-bitfields
  12. COMPILEFLAGS += -ffunction-sections
  13. COMPILEFLAGS += -fdata-sections
  14. COMPILEFLAGS += -fshort-enums
  15. CFLAGS += $(COMPILEFLAGS)
  16. CFLAGS += -fno-inline-small-functions
  17. CFLAGS += -fno-strict-aliasing
  18. CPPFLAGS += $(COMPILEFLAGS)
  19. CPPFLAGS += -fno-exceptions
  20. CPPFLAGS += -std=gnu++11