From 5ddfefa432ab191f0d6d5f3b1f56fe53d8ed19e9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 30 Dec 2005 06:58:39 +0000 Subject: Bug 616, Thomas Chou: dont use -msoft-float on nios2 ports --- Rules.mak | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 11bb44513..859dffeeb 100644 --- a/Rules.mak +++ b/Rules.mak @@ -279,7 +279,9 @@ ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y) # If -msoft-float isn't supported, we want an error anyway. # Hmm... might need to revisit this for arm since it has 2 different # soft float encodings. +ifneq ($(strip $(TARGET_ARCH)),nios2) CPU_CFLAGS += -msoft-float +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