|
From: <sv...@va...> - 2015-06-21 17:54:35
|
Author: florian
Date: Sun Jun 21 18:54:27 2015
New Revision: 15348
Log:
Fix two testcase builds so they work when linked against a VEX
that was compiled with -fsanitize=undefined
Modified:
trunk/none/tests/Makefile.am
Modified: trunk/none/tests/Makefile.am
==============================================================================
--- trunk/none/tests/Makefile.am (original)
+++ trunk/none/tests/Makefile.am Sun Jun 21 18:54:27 2015
@@ -258,10 +258,13 @@
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
|