summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-04-25 16:50:50 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-04-25 16:50:50 +0000
commit68d83b84c349d7d060a7b1fb9979360f515afb56 (patch)
tree5c44f54b2ae8b7934b39d335c34345b9d94e2590 /test
parentfe8655142206e34169a524dc2063fe5732f126a1 (diff)
Fix some sh4 specific entries
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'test')
-rw-r--r--test/math/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/math/Makefile b/test/math/Makefile
index 7ad92b10b..9e200269f 100644
--- a/test/math/Makefile
+++ b/test/math/Makefile
@@ -10,6 +10,11 @@ include ../Test.mak
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
+endif
EXTRA_CFLAGS := -DNO_LONG_DOUBLE -fno-builtin
EXTRA_LDFLAGS := -lm