summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-11 23:35:36 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-22 15:25:39 -0500
commitad2bffbf1926051ef333f9899344f6bddf2c03cf (patch)
tree103f0bea2851cdc5de2b62a0c42c6d63f09635a5 /Rules.mak
parentcbec6ecd4d0fde5bf7fea20eb0c0c5fc9a6dec90 (diff)
fix bfin compile, -msoft-float is not available
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak11
1 files changed, 1 insertions, 10 deletions
diff --git a/Rules.mak b/Rules.mak
index 5217004ea..e88eda1f1 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -292,12 +292,8 @@ CPU_CFLAGS-y := -funsigned-char -fno-builtin
$(eval $(call check-gcc-var,-fno-asm))
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),nios)
+ifneq ($(TARGET_ARCH),bfin)
ifneq ($(TARGET_ARCH),nios2)
ifneq ($(TARGET_ARCH),sh)
ifneq ($(TARGET_ARCH),c6x)
@@ -306,11 +302,6 @@ endif
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
$(eval $(call check-gcc-var,-std=gnu99))