From: Florian Krohm Date: Sun, 21 Jun 2015 17:54:27 +0000 (+0000) Subject: Fix two testcase builds so they work when linked against a VEX X-Git-Tag: svn/VALGRIND_3_11_0~288 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90e41758ff119d7bd1486f1bc0180f9150d44de5;p=thirdparty%2Fvalgrind.git Fix two testcase builds so they work when linked against a VEX that was compiled with -fsanitize=undefined git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15348 --- diff --git a/none/tests/Makefile.am b/none/tests/Makefile.am index c9c9c81d8c..dd5959e685 100644 --- a/none/tests/Makefile.am +++ b/none/tests/Makefile.am @@ -258,10 +258,13 @@ else nestedfns_CFLAGS = $(AM_CFLAGS) mq_LDADD = -lrt endif -libvex_test_LDADD = ../../VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a +libvex_test_CFLAGS = @FLAG_FSANITIZE@ +libvex_test_LDADD = ../../VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a \ + @LIB_UBSAN@ +libvexmultiarch_test_CFLAGS= @FLAG_FSANITIZE@ libvexmultiarch_test_LDADD = \ ../../VEX/libvexmultiarch-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a \ - ../../VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a + ../../VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a @LIB_UBSAN@ libvexmultiarch_test_SOURCES = libvex_test.c pth_atfork1_LDADD = -lpthread pth_blockedsig_LDADD = -lpthread