summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-03 14:24:28 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-03 14:24:28 +0000
commitfeeb0301b31a5ad4ea0594b17e4720bbe3308a3b (patch)
treeae71a3f81309a3068335ec30f021333454bccbc6 /test
parent2ba017a2d5af01cc3ef0dc554252a521e8d7c4f8 (diff)
- add long double math wrappers (Ned Ludd)
Diffstat (limited to 'test')
-rw-r--r--test/math/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/math/Makefile b/test/math/Makefile
index e65f1700e..09f5425a5 100644
--- a/test/math/Makefile
+++ b/test/math/Makefile
@@ -1,10 +1,10 @@
# uClibc math tests
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
-TESTS := basic-test rint tst-definitions test-fpucw
-# test-double test-idouble
-# test-float test-ifloat
-# test-ldouble test-ildouble
+TESTS := basic-test rint tst-definitions test-fpucw test-float test-ifloat test-double test-idouble
+ifeq ($(strip $(UCLIBC_HAS_LONG_DOUBLE_MATH)),y)
+TESTS += test-ldouble test-ildouble
+endif
include ../Test.mak
@@ -15,7 +15,7 @@ DODIFF_rint := 1
ifeq ($(TARGET_ARCH),sh)
CFLAGS_basic-test := -mieee
endif
-EXTRA_CFLAGS := -DNO_LONG_DOUBLE -fno-builtin
+EXTRA_CFLAGS := -fno-builtin
EXTRA_LDFLAGS := -lm
PERL := /usr/bin/perl