aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F4xx/CAN/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F4xx/CAN/Makefile')
-rw-r--r--testhal/STM32F4xx/CAN/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/testhal/STM32F4xx/CAN/Makefile b/testhal/STM32F4xx/CAN/Makefile
index 4ac8a006b..a490a9cb2 100644
--- a/testhal/STM32F4xx/CAN/Makefile
+++ b/testhal/STM32F4xx/CAN/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