From 1b44e1b2bbddb7d05a78cb3874b6a2baf8faf59a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 14 Jan 2004 10:31:58 +0000 Subject: Use the gcc 3.4 -funit-at-a-time optimization when available --- Rules.mak | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index eef3a0636..15c593abc 100644 --- a/Rules.mak +++ b/Rules.mak @@ -170,8 +170,10 @@ ifeq ($(strip $(TARGET_ARCH)),cris) PICFLAG=-fpic endif -# use '-Os' optimization if available, else use -O2, allow Config to override +# Use '-Os' optimization if available, else use -O2, allow Config to override OPTIMIZATION+=$(call check_gcc,-Os,-O2) +# Use the gcc 3.4 -funit-at-a-time optimization when available +OPTIMIZATION+=$(call check_gcc,-funit-at-a-time,) # Add a bunch of extra pedantic annoyingly strict checks -- cgit v1.2.3