Skip to content

Commit

Permalink
Enable LTO support (#181)
Browse files Browse the repository at this point in the history
Yannicked authored Jan 24, 2022
1 parent f2d9dc9 commit b7a3dc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder/main.py
Original file line number Diff line number Diff line change
@@ -55,13 +55,13 @@ def BeforeUpload(target, source, env): # pylint: disable=W0613,W0621
build_mcu = env.get("BOARD_MCU", board.get("build.mcu", ""))

env.Replace(
AR="arm-none-eabi-ar",
AR="arm-none-eabi-gcc-ar",
AS="arm-none-eabi-as",
CC="arm-none-eabi-gcc",
CXX="arm-none-eabi-g++",
GDB="arm-none-eabi-gdb",
OBJCOPY="arm-none-eabi-objcopy",
RANLIB="arm-none-eabi-ranlib",
RANLIB="arm-none-eabi-gcc-ranlib",
SIZETOOL="arm-none-eabi-size",

ARFLAGS=["rc"],

0 comments on commit b7a3dc7

Please sign in to comment.