aboutsummaryrefslogtreecommitdiffstats
path: root/demos/rt/RT-STM32F051-DISCOVERY/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'demos/rt/RT-STM32F051-DISCOVERY/Makefile')
-rw-r--r--demos/rt/RT-STM32F051-DISCOVERY/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/demos/rt/RT-STM32F051-DISCOVERY/Makefile b/demos/rt/RT-STM32F051-DISCOVERY/Makefile
index ea1ece763..0ba95fb05 100644
--- a/demos/rt/RT-STM32F051-DISCOVERY/Makefile
+++ b/demos/rt/RT-STM32F051-DISCOVERY/Makefile
@@ -23,6 +23,11 @@ ifeq ($(USE_LINK_GC),)
USE_LINK_GC = yes
endif
+# Enable this if you want link time optimizations (LTO)
+ifeq ($(USE_LTO),)
+ USE_LTO = yes
+endif
+
# If enabled, this option allows to compile the application in THUMB mode.
ifeq ($(USE_THUMB),)
USE_THUMB = yes