summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-30 06:58:39 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-30 06:58:39 +0000
commit5ddfefa432ab191f0d6d5f3b1f56fe53d8ed19e9 (patch)
tree9dc2487d23231272159b4e37d41c58059afc56cc
parentac1ff06aef9d8a4b379ad199f7f4ce442bcfda89 (diff)
Bug 616, Thomas Chou: dont use -msoft-float on nios2 ports
-rw-r--r--Rules.mak2
1 files changed, 2 insertions, 0 deletions
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.