summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile
index d339c8dc5..6abcd160a 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -82,7 +82,7 @@ LDADD_LIBFLOAT=
ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
CFLAGS += $(call check_gcc,-msoft-float,)
#LDFLAGS+= -Wa,-mno-fpu
-ifeq ($(strip $(TARGET_ARCH)),"arm")
+ifeq ($(strip $(subst ",, $(strip $(TARGET_ARCH)))),arm)
LDADD_LIBFLOAT=-lfloat
endif
endif