소스 검색

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

Peter S. Mazinger 20 년 전
부모
커밋
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)