OSDN Git Service

fix static linking of pthread apps
[uclinux-h8/uclibc-ng.git] / Rules.mak
index 720aca3..d93a77e 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -294,9 +294,7 @@ CPU_CFLAGS-y += $(CFLAG_-fno-asm)
 
 LDADD_LIBFLOAT=
 ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y)
-# If -msoft-float isn't supported, we want an error anyway.
-# Hmm... might need to revisit this for arm since it has 2 different
-# soft float encodings.
+ifneq ($(TARGET_ARCH),bfin)
 ifneq ($(TARGET_ARCH),nios2)
 ifneq ($(TARGET_ARCH),sh)
 ifneq ($(TARGET_ARCH),c6x)
@@ -304,10 +302,6 @@ CPU_CFLAGS-y += -msoft-float
 endif
 endif
 endif
-ifeq ($(TARGET_ARCH),arm)
-# No longer needed with current toolchains, but leave it here for now.
-# If anyone is actually still using gcc 2.95 (say), they can uncomment it.
-#    LDADD_LIBFLOAT=-lfloat
 endif
 endif
 
@@ -402,10 +396,6 @@ ifeq ($(TARGET_ARCH),mips)
        CPU_CFLAGS-$(CONFIG_MIPS_N64_ABI)+=-mabi=64
        CPU_CFLAGS-$(CONFIG_MIPS_O32_ABI)+=-mabi=32
        CPU_CFLAGS-$(CONFIG_MIPS_N32_ABI)+=-mabi=n32
-
-       CPU_CFLAGS-$(CONFIG_MIPS_NAN_LEGACY)+=-mnan=legacy
-       CPU_CFLAGS-$(CONFIG_MIPS_NAN_2008)+=-mnan=2008
-
        CPU_LDFLAGS-y += $(CPU_CFLAGS)
 endif
 
@@ -425,12 +415,6 @@ else
 endif
 endif
 
-ifeq ($(TARGET_ARCH),sh64)
-       CPU_CFLAGS-$(ARCH_LITTLE_ENDIAN):=-ml
-       CPU_CFLAGS-$(ARCH_BIG_ENDIAN):=-mb
-       CPU_CFLAGS-$(CONFIG_SH5)+=-m5-32media
-endif
-
 ifeq ($(TARGET_ARCH),h8300)
        SYMBOL_PREFIX=_
        CPU_LDFLAGS-$(CONFIG_H8300H)+= -Wl,-ms8300h