From e391d6dac8ba8e8c472994204bcfd8c0fb152a3b Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Tue, 8 May 2018 01:22:52 +0200 Subject: [PATCH] Enable the link-time optimizer for the left side, as this was also used before the Makefile were added --- left/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/left/Makefile b/left/Makefile index 9f0b63c..c3ff468 100644 --- a/left/Makefile +++ b/left/Makefile @@ -34,6 +34,9 @@ FLASH_CMD = node ../lib/agent/packages/usb/update-module-firmware.js leftHalf $( # Path to the JLink script used for the left half. JLINK_SCRIPT = ../scripts/flash-left.jlink +# Enable the link-time optimizer. +BUILD_FLAGS = -flto + # Source files. SOURCE = $(wildcard src/*.c) \ ../lib/KSDK_2.0_MKL03Z8xxx4/devices/MKL03Z4/system_MKL03Z4.c \