Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit ed1c5e8

Browse files
authored
Remove current dir include path
Fixes #26 . Should avoid random errors based on where the IDE is launched from.
1 parent a6b6f73 commit ed1c5e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ compiler.warning_flags.all=-Wall -Wextra
1818

1919
compiler.path={build.compiler_path}
2020
compiler.c.cmd={build.crossprefix}gcc
21-
compiler.c.flags=-c -I. {compiler.warning_flags} -Os -g -nostdlib "@{compiler.mbed.defines}" "@{compiler.mbed.cflags}" {compiler.mbed.arch.define} -MMD -mcpu={build.mcu}
21+
compiler.c.flags=-c {compiler.warning_flags} -Os -g -nostdlib "@{compiler.mbed.defines}" "@{compiler.mbed.cflags}" {compiler.mbed.arch.define} -MMD -mcpu={build.mcu}
2222
compiler.c.elf.cmd={build.crossprefix}g++
2323
compiler.c.elf.flags=-Wl,--gc-sections {compiler.warning_flags} -Wl,--as-needed
2424
compiler.S.flags=-c -g -x assembler-with-cpp -Os -mcpu={build.mcu}
2525
compiler.cpp.cmd={build.crossprefix}g++
26-
compiler.cpp.flags=-c -I. {compiler.warning_flags} -g -Os -nostdlib "@{compiler.mbed.defines}" "@{compiler.mbed.cxxflags}" {compiler.mbed.arch.define} -MMD -mcpu={build.mcu}
26+
compiler.cpp.flags=-c {compiler.warning_flags} -g -Os -nostdlib "@{compiler.mbed.defines}" "@{compiler.mbed.cxxflags}" {compiler.mbed.arch.define} -MMD -mcpu={build.mcu}
2727
compiler.ar.cmd={build.crossprefix}ar
2828
compiler.ar.flags=rcs
2929
compiler.objcopy.cmd=

0 commit comments

Comments
 (0)