浏览代码

- allow for passing in UCLIBC_EXTRA_LDFLAGS

Bernhard Reutner-Fischer 18 年之前
父节点
当前提交
3936de030a
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Rules.mak

+ 4 - 0
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.