Browse Source

Bug 616, Thomas Chou: dont use -msoft-float on nios2 ports

Mike Frysinger 19 years ago
parent
commit
5ddfefa432
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Rules.mak

+ 2 - 0
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.