From 6b6aa84124572d008c9b64f02c005b4161b3b9fa Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Thu, 6 Aug 2015 20:11:25 +0200 Subject: [PATCH] Makefile-ARM: disable Link Time Optimisation (-flto). LTO makes generated assembly unreadable and also produces, despite its intention, bigger binaries, currently by 90 bytes. --- Makefile-ARM | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile-ARM b/Makefile-ARM index b851ec9..a36f6bd 100644 --- a/Makefile-ARM +++ b/Makefile-ARM @@ -122,7 +122,7 @@ endif CFLAGS += -Wall CFLAGS += -Wstrict-prototypes CFLAGS += -Os -CFLAGS += -flto +#CFLAGS += -flto CFLAGS += -ffunction-sections CFLAGS += -fdata-sections #CFLAGS += -dM -E # To list all predefined macros into the .o file.