From 90e41758ff119d7bd1486f1bc0180f9150d44de5 Mon Sep 17 00:00:00 2001 From: Florian Krohm Date: Sun, 21 Jun 2015 17:54:27 +0000 Subject: [PATCH] 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 --- none/tests/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.47.2