[git commit] buildsys: try to merge all constants

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Apr 22 17:57:40 UTC 2015


commit: http://git.uclibc.org/uClibc/commit/?id=9058b43530b6be9146ea3448e8a5f642c09a1818
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Saves a couple of bytes

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 Rules.mak |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Rules.mak b/Rules.mak
index 71ceb90..aa2e3a7 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -296,6 +296,8 @@ CPU_CFLAGS-y := -funsigned-char -fno-builtin
 
 $(eval $(call check-gcc-var,-fno-asm))
 CPU_CFLAGS-y += $(CFLAG_-fno-asm)
+$(eval $(call check-gcc-var,-fmerge-all-constants))
+CPU_CFLAGS-y += $(CFLAG_-fmerge-all-constants)
 
 LDADD_LIBFLOAT=
 ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y)


More information about the uClibc-cvs mailing list