From a9f89d3503ec55611e90b3ee86f0f2628d116e0b Mon Sep 17 00:00:00 2001 From: d0k3 Date: Tue, 22 Mar 2016 19:24:58 +0100 Subject: [PATCH] Use build flag -flto --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ec3a227..4925ffa 100644 --- a/Makefile +++ b/Makefile @@ -25,9 +25,9 @@ INCLUDES := include source source/fatfs source/nand #--------------------------------------------------------------------------------- # options for code generation #--------------------------------------------------------------------------------- -ARCH := -mthumb -mthumb-interwork +ARCH := -mthumb -mthumb-interwork -flto -CFLAGS := -g -Wall -O2\ +CFLAGS := -g -Wall -O2 -flto\ -march=armv5te -mtune=arm946e-s -fomit-frame-pointer\ -ffast-math -std=c99\ $(ARCH)