diff options
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |