Don't use the link-time optimizer because it screws up the firmware.

This commit is contained in:
László Monda
2018-05-09 00:19:02 +02:00
parent 46244b8f5f
commit 772078f8f6

View File

@@ -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 \