diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-02-12 14:43:03 +0000 |
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-02-12 14:43:03 +0000 |
| commit | 28dee775ea9f50ee27469d04bc0bb70b1c62b2b9 (patch) | |
| tree | e40e535c30acabf4bdd338a11a95f82e0316df4e | |
| parent | 4f8b47a11d499b3d4c9a6ce9694a5422514756ad (diff) | |
| download | uClibc-alpine-28dee775ea9f50ee27469d04bc0bb70b1c62b2b9.tar.bz2 uClibc-alpine-28dee775ea9f50ee27469d04bc0bb70b1c62b2b9.tar.xz | |
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@st.com>
| -rw-r--r-- | test/math/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/math/Makefile b/test/math/Makefile index 09f5425a5..542f195b1 100644 --- a/test/math/Makefile +++ b/test/math/Makefile @@ -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 @@ DODIFF_rint := 1 # 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 |
