File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ compiler.warning_flags.all=-Wall -Wextra
20
20
# Default "compiler.path" is correct, change only if you want to overidde the initial value
21
21
compiler.path={runtime.tools.avr-gcc.path}/bin/
22
22
compiler.c.cmd=avr-gcc
23
- compiler.c.flags=-c -g -Os {compiler.warning_flags} -ffunction-sections -fdata-sections -MMD
23
+ compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu89 - ffunction-sections -fdata-sections -MMD
24
24
# -w flag added to avoid printing a wrong warning http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59396
25
25
# This is fixed in gcc 4.8.3 and will be removed as soon as we update the toolchain
26
26
compiler.c.elf.flags={compiler.warning_flags} -Os -Wl,--gc-sections
27
27
compiler.c.elf.cmd=avr-gcc
28
28
compiler.S.flags=-c -g -x assembler-with-cpp
29
29
compiler.cpp.cmd=avr-g++
30
- compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD
30
+ compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++98 - fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD
31
31
compiler.ar.cmd=avr-ar
32
32
compiler.ar.flags=rcs
33
33
compiler.objcopy.cmd=avr-objcopy
You can’t perform that action at this time.
0 commit comments