summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-02 15:57:11 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-02 15:57:11 +0000
commitd38e11bd8d81a1afecdfab26c1100fbc2ea66fc2 (patch)
treea41c6b0ec17c79a1382f8c2063a5b5c30856001f /Rules.mak
parent8af2adc3af455736a846939e678ed769b8a50d74 (diff)
TARGET_ARCH is already stripped, do not do it again for nios2
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index da7b8938b..16e9710df 100644
--- a/Rules.mak
+++ b/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)