From e00f5ea74a448c1148725794d89a4149b98fdb11 Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Tue, 14 Jul 2009 11:01:03 +0300 Subject: build: optimize with -O2 by default also make the array code more explicit to have gcc optimizer happy. --- Make.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Make.rules') diff --git a/Make.rules b/Make.rules index fce3a77919..aa1a8b3d07 100644 --- a/Make.rules +++ b/Make.rules @@ -67,7 +67,7 @@ LD := $(CROSS_COMPILE)ld INSTALL := install INSTALLDIR := $(INSTALL) -d -CFLAGS ?= -g +CFLAGS ?= -g -O2 CFLAGS_ALL := -Werror -Wall -Wstrict-prototypes -D_GNU_SOURCE -std=gnu99 CFLAGS_ALL += $(CFLAGS) -- cgit v1.2.3