summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-11-23 20:24:32 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-11-23 20:24:32 +0000
commit1d2ab22c46bd9c602481eb6ee7aa76306ebcca96 (patch)
tree010cf248dbdb9d203b5acb7bb3ae5baab96b71a2
parenteb6d6eb1b6778b71287399763740c77ec445fd2a (diff)
Ok.. this fixes the buildroot soft-float arm build.
Also try to make sure the build breaks if we want soft float but don't know how to request it.
-rw-r--r--Rules.mak2
-rw-r--r--utils/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Rules.mak b/Rules.mak
index 1b7b9fc3a..6418a4176 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -212,7 +212,7 @@ endif
LDADD_LIBFLOAT=
ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
- CFLAGS += $(call check_gcc,-msoft-float,)
+ CFLAGS += $(call check_gcc,-msoft-float,CAN_NOT_SET_SOFT_FLOAT)
#LDFLAGS+= -Wa,-mno-fpu
ifeq ($(strip $(TARGET_ARCH)),arm)
LDADD_LIBFLOAT=-lfloat
diff --git a/utils/Makefile b/utils/Makefile
index 6abcd160a..57aed1780 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -80,7 +80,7 @@ endif
LDADD_LIBFLOAT=
ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
- CFLAGS += $(call check_gcc,-msoft-float,)
+ override CFLAGS += $(call check_gcc,-msoft-float,CAN_NOT_SET_SOFT_FLOAT)
#LDFLAGS+= -Wa,-mno-fpu
ifeq ($(strip $(subst ",, $(strip $(TARGET_ARCH)))),arm)
LDADD_LIBFLOAT=-lfloat