Browse Source

TARGET_ARCH is already stripped, do not do it again for nios2

Peter S. Mazinger 19 years ago
parent
commit
d38e11bd8d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Rules.mak

+ 1 - 1
Rules.mak

@@ -279,7 +279,7 @@ ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y)
 # If -msoft-float isn't supported, we want an error anyway.
 # If -msoft-float isn't supported, we want an error anyway.
 # Hmm... might need to revisit this for arm since it has 2 different
 # Hmm... might need to revisit this for arm since it has 2 different
 # soft float encodings.
 # soft float encodings.
-ifneq ($(strip $(TARGET_ARCH)),nios2)
+ifneq ($(TARGET_ARCH),nios2)
     CPU_CFLAGS += -msoft-float
     CPU_CFLAGS += -msoft-float
 endif
 endif
 ifeq ($(TARGET_ARCH),arm)
 ifeq ($(TARGET_ARCH),arm)