OSDN Git Service

- allow for passing in UCLIBC_EXTRA_LDFLAGS
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 13 Oct 2007 14:41:46 +0000 (14:41 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 13 Oct 2007 14:41:46 +0000 (14:41 -0000)
Rules.mak

index c97fcbd..97a1541 100644 (file)
--- 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.