From a96829dab308229b45407a1f47e2f613bd5d148d Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 16 Oct 2007 11:51:51 +0000 Subject: - move UCLIBC_EXTRA_LDFLAGS below pinning LDFLAGS --- Rules.mak | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 159f019e8..0197fa338 100644 --- a/Rules.mak +++ b/Rules.mak @@ -371,10 +371,6 @@ ifneq ($(strip $(UCLIBC_EXTRA_CFLAGS)),"") CFLAGS += $(subst ",, $(UCLIBC_EXTRA_CFLAGS)) endif -ifneq ($(strip $(UCLIBC_EXTRA_LDFLAGS)),"") -LDFLAGS += $(subst ",, $(UCLIBC_EXTRA_LDFLAGS)) -endif - LDADD_LIBFLOAT= ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y) # If -msoft-float isn't supported, we want an error anyway. @@ -440,6 +436,10 @@ else DOMULTI:=n endif +ifneq ($(strip $(UCLIBC_EXTRA_LDFLAGS)),"") +LDFLAGS += $(subst ",, $(UCLIBC_EXTRA_LDFLAGS)) +endif + ifeq ($(UCLIBC_HAS_THREADS),y) ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) PTNAME := nptl -- cgit v1.2.3