Browse Source

buildsys: try to merge all constants

Saves a couple of bytes

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 9 years ago
parent
commit
9058b43530
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Rules.mak

+ 2 - 0
Rules.mak

@@ -296,6 +296,8 @@ CPU_CFLAGS-y := -funsigned-char -fno-builtin
 
 
 $(eval $(call check-gcc-var,-fno-asm))
 $(eval $(call check-gcc-var,-fno-asm))
 CPU_CFLAGS-y += $(CFLAG_-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=
 LDADD_LIBFLOAT=
 ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y)
 ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y)