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 @@ -19,11 +19,11 @@ compiler.path={build.compiler_path}
19
19
compiler.c.cmd={build.crossprefix}gcc
20
20
compiler.c.flags=-g -c {compiler.warning_flags} {compiler.zephyr.defines} {compiler.zephyr.cflags} {compiler.zephyr.arch.define} -MMD -mcpu={build.mcu} {build.float-abi} {build.fpu}
21
21
compiler.c.elf.cmd={build.crossprefix}g++
22
- compiler.c.elf.flags=-r -Wl,--gc-sections -e main
22
+ compiler.c.elf.flags=-r -Wl,--gc-sections -e main -mcpu={build.mcu} {build.float-abi} {build.fpu} -std=c++17
23
23
compiler.S.cmd={build.crossprefix}g++
24
24
compiler.S.flags=-c -x assembler-with-cpp -mcpu={build.mcu} {build.fpu}
25
25
compiler.cpp.cmd={build.crossprefix}g++
26
- compiler.cpp.flags=-g -Os -c {compiler.warning_flags} {compiler.zephyr.defines} {compiler.zephyr.cxxflags} {compiler.zephyr.arch.define} -MMD -mcpu={build.mcu} {build.float-abi} {build.fpu}
26
+ compiler.cpp.flags=-g -Os -std=c++17 - c {compiler.warning_flags} {compiler.zephyr.defines} {compiler.zephyr.cxxflags} {compiler.zephyr.arch.define} -MMD -mcpu={build.mcu} {build.float-abi} {build.fpu}
27
27
compiler.ar.cmd={build.crossprefix}ar
28
28
compiler.ar.flags=rcs
29
29
compiler.objcopy.cmd=
You can’t perform that action at this time.
0 commit comments