From 3b49bc83942802630eea4d4f863586270e559b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20W=C5=82ostowski?= <tomasz.wlostowski@cern.ch> Date: Wed, 25 Apr 2012 16:42:26 +0200 Subject: [PATCH] rt: optimize for speed --- rt/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rt/Makefile b/rt/Makefile index 403d355d6..1d7449d10 100644 --- a/rt/Makefile +++ b/rt/Makefile @@ -9,8 +9,8 @@ OBJS_PLATFORM=target/lm32/crt0.o target/lm32/irq.o CC=$(CROSS_COMPILE)gcc OBJCOPY=$(CROSS_COMPILE)objcopy OBJDUMP=$(CROSS_COMPILE)objdump -CFLAGS= $(CFLAGS_PLATFORM) -ffunction-sections -fdata-sections -Os -Iinclude -include include/trace.h -ffreestanding -Iipc -LDFLAGS= $(LDFLAGS_PLATFORM) -ffunction-sections -fdata-sections -Os -Iinclude -ffreestanding +CFLAGS= $(CFLAGS_PLATFORM) -ffunction-sections -fdata-sections -O3 -Iinclude -include include/trace.h -ffreestanding -Iipc +LDFLAGS= $(LDFLAGS_PLATFORM) -ffunction-sections -fdata-sections -O3 -Iinclude -ffreestanding SIZE = $(CROSS_COMPILE)size OBJS += $(OBJS_PLATFORM) -- GitLab