From 3936de030a9c53a21825701cea9c4d36e0d00b85 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 13 Oct 2007 14:41:46 +0000 Subject: - allow for passing in UCLIBC_EXTRA_LDFLAGS --- Rules.mak | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Rules.mak') 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. -- cgit v1.2.3