Skip to content

Commit e5b9c39

Browse files
committed
Change ar cmd to use wrapper (required to use lto plugin)
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 66342cc commit e5b9c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ compiler.S.cmd=arm-none-eabi-gcc
2929
compiler.S.flags=-mthumb -c -x assembler-with-cpp {compiler.stm.extra_include}
3030
compiler.cpp.cmd=arm-none-eabi-g++
3131
compiler.cpp.flags=-mthumb -c {build.flags.optimize} {compiler.warning_flags} -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -MMD {compiler.stm.extra_include}
32-
compiler.ar.cmd=arm-none-eabi-ar
32+
compiler.ar.cmd=arm-none-eabi-gcc-ar
3333
compiler.ar.flags=rcs
3434
compiler.objcopy.cmd=arm-none-eabi-objcopy
3535
compiler.objcopy.eep.flags=-O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0

0 commit comments

Comments
 (0)