Explorar o código

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

Paul Mundt %!s(int64=17) %!d(string=hai) anos
pai
achega
a8267f12ce
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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.