From: Julian Seward Date: Sun, 3 Jan 2010 21:24:09 +0000 (+0000) Subject: Make sure the Memcheck tests are built on arm-linux using hardware X-Git-Tag: svn/VALGRIND_3_6_0~424 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d7fcf0f82ac90267c33f75361cc1e819d139a0a;p=thirdparty%2Fvalgrind.git Make sure the Memcheck tests are built on arm-linux using hardware 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 --- diff --git a/memcheck/tests/Makefile.am b/memcheck/tests/Makefile.am index 43a44a8518..12bb97e44e 100644 --- a/memcheck/tests/Makefile.am +++ b/memcheck/tests/Makefile.am @@ -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