OSDN Git Service

Disable -msoft-float usage on SH, gcc doesn't support it.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 21 Aug 2008 08:59:27 +0000 (08:59 -0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 21 Aug 2008 08:59:27 +0000 (08:59 -0000)
Rules.mak

index 8f89c31..9512a7d 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -474,9 +474,11 @@ ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y)
 # soft float encodings.
 ifneq ($(TARGET_ARCH),nios)
 ifneq ($(TARGET_ARCH),nios2)
+ifneq ($(TARGET_ARCH),sh)
 CFLAGS += -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.