From f72338a387fe392186099c20bdd79a904965d799 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Fri, 31 Oct 2003 23:26:03 +0000 Subject: Some more soft float fixes... for arm in particular (libfloat). Remove the ADD_LIBGCC_FUNCTIONS option and do things the right way. Either we have a shared libgcc available, or the libgcc routines aren't PIC and don't belong in the shared libc anyway. --- Rules.mak | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index c02d48823..aa2fe37fa 100644 --- a/Rules.mak +++ b/Rules.mak @@ -226,9 +226,14 @@ ifeq ($(HAVE_SHARED),y) BUILD_DYNAMIC_LINKER:=/lib/$(strip $(subst ",, $(notdir $(SYSTEM_LDSO)))) endif endif -ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y) + +LDADD_LIBFLOAT= +ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y) CFLAGS += $(call check_gcc,-msoft-float,) #LDFLAGS+= -Wa,-mno-fpu +ifeq ($(strip $(TARGET_ARCH)),arm) + LDADD_LIBFLOAT=-lfloat +endif endif CFLAGS_NOPIC:=$(CFLAGS) -- cgit v1.2.3