summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-05-28 14:38:12 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-05-28 14:38:12 +0000
commiteba708a62b5bb255a3ba79ab29e9259118aaef34 (patch)
tree449e93560ecdad1ce9b16edb1f9d01510abf97a0 /Rules.mak
parent54ebc8099e32cb836c33bbb3744e6e498d6257af (diff)
Make selection of uClibc floating point support in printf, etc. seperate
from libm float function support. Also, move all Config files out of the main directory.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak6
1 files changed, 6 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index e26a75a66..28a1c84a5 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -85,6 +85,12 @@ else
DYNAMIC_LINKER=$(SYSTEM_LDSO)
endif
+# Disable libm if HAS_FLOATING_POINT isn't true.
+ifneq ($(HAS_FLOATING_POINT),true)
+ HAS_LIBM_FLOAT = false
+ HAS_LIBM_DOUBLE = false
+ HAS_LIBM_LONG_DOUBLE = false
+endif
# It turns out the currently, function-sections causes ldelf2flt to segfault.
# So till further notice, this is disabled by default....