diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-27 21:38:44 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-27 21:38:44 +0200 |
commit | a5352e212fcd4da83c8ff4fe542ef23c8e3187f8 (patch) | |
tree | 016dd4cf4a39ddef717a1de7f7ace0305ffa0e75 /Rules.mak | |
parent | 91b2dfd68f5aecc290a449905aa7456f27f10326 (diff) | |
parent | c6e8f34a358f846aa15cb9f53251da3d6668abd1 (diff) |
Merge remote-tracking branch 'origin/upstream'
Diffstat (limited to 'Rules.mak')
-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 |