浏览代码

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

Peter S. Mazinger 19 年之前
父节点
当前提交
d38e11bd8d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.
 # Hmm... might need to revisit this for arm since it has 2 different
 # soft float encodings.
-ifneq ($(strip $(TARGET_ARCH)),nios2)
+ifneq ($(TARGET_ARCH),nios2)
     CPU_CFLAGS += -msoft-float
 endif
 ifeq ($(TARGET_ARCH),arm)