diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-11-23 20:24:32 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-11-23 20:24:32 +0000 |
commit | 1d2ab22c46bd9c602481eb6ee7aa76306ebcca96 (patch) | |
tree | 010cf248dbdb9d203b5acb7bb3ae5baab96b71a2 | |
parent | eb6d6eb1b6778b71287399763740c77ec445fd2a (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.mak | 2 | ||||
-rw-r--r-- | utils/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 |