diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-22 01:17:46 -0400 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-11-09 15:43:34 -0800 |
commit | a568be170da239f1bb1dddad15d920a7f72ff0e6 (patch) | |
tree | 14c115194837ddc4355b0b6d1e0e61e6e07b59ae /Rules.mak | |
parent | 8309b731046640cd65e49438608ecc18284a9a0b (diff) | |
download | uClibc-alpine-a568be170da239f1bb1dddad15d920a7f72ff0e6.tar.bz2 uClibc-alpine-a568be170da239f1bb1dddad15d920a7f72ff0e6.tar.xz |
build with -fmerge-all-constants
Glibc is already using this flag and it gives us a slight code shrink in
a few functions.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -175,6 +175,8 @@ OPTIMIZATION:= 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,) +# shrinks code by about 0.1% +OPTIMIZATION+=$(call check_gcc,-fmerge-all-constants) GCC_MAJOR_VER?=$(shell $(CC) -dumpversion | cut -d . -f 1) #GCC_MINOR_VER?=$(shell $(CC) -dumpversion | cut -d . -f 2) |