OSDN Git Service

Cleanup soft-float support
authorEric Andersen <andersen@codepoet.org>
Tue, 5 Nov 2002 21:17:23 +0000 (21:17 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 5 Nov 2002 21:17:23 +0000 (21:17 -0000)
Rules.mak
extra/Configs/Config.in.arch

index d9d99a6..ffd4d3c 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -172,7 +172,7 @@ endif
 ifeq ($(strip $(DOPIC)),y)
     CFLAGS += -fPIC
 endif
-ifneq ($(strip $(HAS_FPU)),y)
+ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
     CFLAGS += -msoft-float
 endif
 
index 1e7b112..12a82cc 100644 (file)
@@ -40,6 +40,11 @@ config HAS_FPU
 
          Most people will answer Y.
 
+config UCLIBC_HAS_SOFT_FLOAT
+       bool
+       depends on UCLIBC_HAS_FLOATS && !HAS_FPU
+       default y
+
 config DO_C99_MATH
        bool "Enable full C99 math library support"
        depends on UCLIBC_HAS_FLOATS