Skip to content

Commit 3969ed4

Browse files
sandeepmistryadamvoss
authored andcommitted
recipe.ar.pattern backwards compatibility
Port of arduino/Arduino#4737
1 parent 8623a97 commit 3969ed4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

platform.txt

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -m
7373
recipe.S.o.pattern="{compiler.path}{compiler.S.cmd}" {compiler.S.flags} -mcpu={build.mcu} -mthumb -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.S.extra_flags} {build.extra_flags} {compiler.libsam.c.flags} {includes} "{source_file}" -o "{object_file}"
7474

7575
## Create archives
76+
# archive_file_path is needed for backwards compatibility with IDE 1.6.5 or older, IDE 1.6.6 or newer overrides this value
77+
archive_file_path={build.path}/{archive_file}
7678
recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}"
7779

7880
## Combine gc-sections, archives, and objects

0 commit comments

Comments
 (0)