From a8267f12cef2af969ae395ab6300e64d146404d2 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Thu, 21 Aug 2008 08:59:27 +0000 Subject: Disable -msoft-float usage on SH, gcc doesn't support it. --- Rules.mak | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 8f89c3155..9512a7d96 100644 --- 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. -- cgit v1.2.3