summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-10-13 14:41:46 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-10-13 14:41:46 +0000
commit3936de030a9c53a21825701cea9c4d36e0d00b85 (patch)
tree73461e95e35a3e1150fdc0d715dbe8d421e13a0a /Rules.mak
parentf8713e7a0fcc74d9bb3a636def5f4d24c909df4d (diff)
- allow for passing in UCLIBC_EXTRA_LDFLAGS
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index c97fcbd3e..97a154197 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -368,6 +368,10 @@ 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.