From a21da3aebf65794785b14c87dcbf5bbccb6166ce Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Thu, 30 Apr 2015 16:05:12 +0000 Subject: [PATCH] lpc17xx: Optimize for size by default. This single family had optimization disabled completely, unlike all other families. No reason for this. --- lib/lpc17xx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lpc17xx/Makefile b/lib/lpc17xx/Makefile index 126ad445..0317f6bc 100644 --- a/lib/lpc17xx/Makefile +++ b/lib/lpc17xx/Makefile @@ -24,7 +24,7 @@ PREFIX ?= arm-none-eabi CC = $(PREFIX)-gcc AR = $(PREFIX)-ar -CFLAGS = -O0 -g \ +CFLAGS = -Os -g \ -Wall -Wextra -Wimplicit-function-declaration \ -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \ -Wundef -Wshadow \