From 772078f8f6a90e32ec09348d81a407941e7aa540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Wed, 9 May 2018 00:19:02 +0200 Subject: [PATCH] Don't use the link-time optimizer because it screws up the firmware. --- left/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/left/Makefile b/left/Makefile index c3ff468..9f0b63c 100644 --- a/left/Makefile +++ b/left/Makefile @@ -34,9 +34,6 @@ 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 \