diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-01-14 10:31:58 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-01-14 10:31:58 +0000 |
commit | 1b44e1b2bbddb7d05a78cb3874b6a2baf8faf59a (patch) | |
tree | 8b6eb92e3f9b23b493d1eeeeff01f679226b82f7 | |
parent | 8d38283b9c7c156f133d1a2acac841835cb958bc (diff) |
Use the gcc 3.4 -funit-at-a-time optimization when available
-rw-r--r-- | Rules.mak | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |