From 1d2ab22c46bd9c602481eb6ee7aa76306ebcca96 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Sun, 23 Nov 2003 20:24:32 +0000 Subject: 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. --- Rules.mak | 2 +- utils/Makefile | 2 +- 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 -- cgit v1.2.3