diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-08-26 20:07:08 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-08-26 20:07:08 +0200 |
commit | 86869a86205281433d3e6d9d07f2f4a585860657 (patch) | |
tree | 0c229fd3d6b36d20c8bf974fc3f13e96c9435821 | |
parent | 48a0006012679ff0eda6f256da958d73a924fb57 (diff) |
buildsys: remove duplicate UCLIBC_EXTRA_CFLAGS
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | Rules.mak | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -661,9 +661,6 @@ CFLAGS := $(XWARNINGS) $(CPU_CFLAGS) $(SSP_CFLAGS) \ -I$(top_srcdir)libc/sysdeps/linux \ -I$(top_srcdir)ldso/ldso/$(TARGET_ARCH) \ -I$(top_srcdir)ldso/include -I. -ifneq ($(strip $(UCLIBC_EXTRA_CFLAGS)),"") -CFLAGS += $(call qstrip,$(UCLIBC_EXTRA_CFLAGS)) -endif # We need this to be checked within libc-symbols.h ifneq ($(HAVE_SHARED),y) @@ -713,9 +710,6 @@ LDFLAGS += -Wl,-s else STRIPTOOL := true -Stripping_disabled endif -ifneq ($(strip $(UCLIBC_EXTRA_CFLAGS)),"") -CFLAGS += $(call qstrip,$(UCLIBC_EXTRA_CFLAGS)) -endif ifeq ($(DOMULTI),y) # we try to compile all sources at once into an object (IMA), but @@ -733,6 +727,9 @@ else DOMULTI:=n endif +ifneq ($(strip $(UCLIBC_EXTRA_CFLAGS)),"") +CFLAGS += $(call qstrip,$(UCLIBC_EXTRA_CFLAGS)) +endif ifneq ($(strip $(UCLIBC_EXTRA_LDFLAGS)),"") LDFLAGS += $(call qstrip,$(UCLIBC_EXTRA_LDFLAGS)) endif |