svn commit: branches/uClibc-nptl/test/math
carmelo at uclibc.org
carmelo at uclibc.org
Thu Feb 12 14:43:04 UTC 2009
Author: carmelo
Date: 2009-02-12 14:43:03 +0000 (Thu, 12 Feb 2009)
New Revision: 25309
Log:
Pass NO_LONG_DOUBLE flag to basic-test when LONG_DOUBLE
support is not enabled in uclibc to fix build.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
Modified:
branches/uClibc-nptl/test/math/Makefile
Changeset:
Modified: branches/uClibc-nptl/test/math/Makefile
===================================================================
--- branches/uClibc-nptl/test/math/Makefile 2009-02-12 14:42:20 UTC (rev 25308)
+++ branches/uClibc-nptl/test/math/Makefile 2009-02-12 14:43:03 UTC (rev 25309)
@@ -4,6 +4,8 @@
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
+else
+CFLAGS_basic-test := -DNO_LONG_DOUBLE
endif
include ../Test.mak
@@ -13,7 +15,7 @@
# NOTE: For basic-test we must disable the floating point optimization.
# Only for sh architecture because in the other architecture are disabled.
ifeq ($(TARGET_ARCH),sh)
-CFLAGS_basic-test := -mieee
+CFLAGS_basic-test += -mieee
endif
EXTRA_CFLAGS := -fno-builtin
EXTRA_LDFLAGS := -lm
More information about the uClibc-cvs
mailing list