[uClibc-cvs] uClibc Rules.mak,1.145,1.146

Manuel Novoa III mjn3 at uclibc.org
Fri Oct 31 23:26:01 UTC 2003


Update of /var/cvs/uClibc
In directory winder:/tmp/cvs-serv12659

Modified Files:
	Rules.mak 
Log Message:
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.


Index: Rules.mak
===================================================================
RCS file: /var/cvs/uClibc/Rules.mak,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- Rules.mak	24 Oct 2003 04:12:42 -0000	1.145
+++ Rules.mak	31 Oct 2003 23:25:58 -0000	1.146
@@ -226,9 +226,14 @@
 	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)




More information about the uClibc-cvs mailing list