summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-08-21 08:59:27 +0000
committerPaul Mundt <lethal@linux-sh.org>2008-08-21 08:59:27 +0000
commita8267f12cef2af969ae395ab6300e64d146404d2 (patch)
tree58d6b55d9c022e026b9a76b973a5b2a9f2cd262c /Rules.mak
parentd7cb403f824ceb5681262d9d90b1c555d1a6208e (diff)
Disable -msoft-float usage on SH, gcc doesn't support it.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 2 insertions, 0 deletions
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.