Browse Source

build: avr: Fix build with gcc > 4.8

Pass -fno-use-cxa-atexit as option to compiler so it's possible to build
with gcc newer than 4.8.
mission-4.1.18
Lucas De Marchi 10 years ago committed by Andrew Tridgell
parent
commit
58a3d70f8b
  1. 2
      mk/board_avr.mk

2
mk/board_avr.mk

@ -15,7 +15,7 @@ WARNFLAGS += -Wwrite-strings -Wformat=2 -Wno-unused-parameter -Wno-missin @@ -15,7 +15,7 @@ WARNFLAGS += -Wwrite-strings -Wformat=2 -Wno-unused-parameter -Wno-missin
WARNFLAGSCXX = -Wno-reorder
DEPFLAGS = -MD -MT $@
CXXOPTS = -ffunction-sections -fdata-sections -fno-exceptions -fsigned-char
CXXOPTS = -ffunction-sections -fdata-sections -fno-exceptions -fsigned-char -fno-use-cxa-atexit
COPTS = -ffunction-sections -fdata-sections -fsigned-char
ASOPTS = -x assembler-with-cpp

Loading…
Cancel
Save