aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/avr/Makefile')
-rw-r--r--src/avr/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/avr/Makefile b/src/avr/Makefile
index ce580265..af8d9f49 100644
--- a/src/avr/Makefile
+++ b/src/avr/Makefile
@@ -5,7 +5,7 @@ CROSS_PREFIX=avr-
dirs-y += src/avr lib/pjrc_usb_serial
-CFLAGS-y += -mmcu=$(CONFIG_MCU) -DF_CPU=$(CONFIG_CLOCK_FREQ)
+CFLAGS-y += -Os -mmcu=$(CONFIG_MCU) -DF_CPU=$(CONFIG_CLOCK_FREQ)
LDFLAGS-y += -Wl,--relax
# Add avr source files