From afd98cc300893f7723ed8ad8fe1276a5dcef7a98 Mon Sep 17 00:00:00 2001 From: Robin Krens Date: Wed, 18 May 2022 19:31:56 +0200 Subject: [PATCH] makefile: optimize for size --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9abe973..1ddb793 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ AVRSIZE = avr-size AVRDUDE = avrdude CPPFLAGS = -DF_CPU=$(F_CPU) -DBAUD=$(BAUD) -I. -CFLAGS = -O -g -Wall +CFLAGS = -Os -g -Wall CFLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums LDFLAGS = -Wl,-Map,hbc.map -- 2.7.4