]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make sure the Memcheck tests are built on arm-linux using hardware
authorJulian Seward <jseward@acm.org>
Sun, 3 Jan 2010 21:24:09 +0000 (21:24 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 3 Jan 2010 21:24:09 +0000 (21:24 +0000)
floating point, since the softfloat results are way different from the
hardware one (not to mention, V reports lots of accesses-below-the-SP
in the softfloat helper functions.)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10999

memcheck/tests/Makefile.am

index 43a44a8518381c898dbf0fa0779434faf711f042..12bb97e44eb119de948e7226a843d47b725bf710 100644 (file)
@@ -242,6 +242,11 @@ check_PROGRAMS = \
 AM_CFLAGS   += $(AM_FLAG_M3264_PRI)
 AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
 
+if VGCONF_PLATFORMS_INCLUDE_ARM_LINUX
+AM_CFLAGS   += -mfloat-abi=softfp
+AM_CXXFLAGS += -mfloat-abi=softfp
+endif
+
 if VGCONF_OS_IS_DARWIN
 atomic_incs_CFLAGS = $(AM_CFLAGS) -mdynamic-no-pic
 else