summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-10-16 11:51:51 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-10-16 11:51:51 +0000
commita96829dab308229b45407a1f47e2f613bd5d148d (patch)
tree78b3e619d05e47157fb274c9b367c8cf2643d585 /Rules.mak
parent51ce75b5b02a7617bfee5272d9236835be48d02d (diff)
- move UCLIBC_EXTRA_LDFLAGS below pinning LDFLAGS
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak8
1 files changed, 4 insertions, 4 deletions
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