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