Browse Source

Disable -msoft-float usage on SH, gcc doesn't support it.

Paul Mundt 15 years ago
parent
commit
a8267f12ce
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Rules.mak

+ 2 - 0
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.