From: Nicholas Nethercote Date: Thu, 25 Jun 2009 23:46:23 +0000 (+0000) Subject: Fix 'make check' for automake-1.7. Fixes bugs 197898 and 197901. X-Git-Tag: svn/VALGRIND_3_5_0~468 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=512909dd91c0ad9a7c8c5f9105b2932df8662783;p=thirdparty%2Fvalgrind.git Fix 'make check' for automake-1.7. Fixes bugs 197898 and 197901. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10378 --- diff --git a/cachegrind/tests/Makefile.am b/cachegrind/tests/Makefile.am index e21d52d5c3..1dafb0a656 100644 --- a/cachegrind/tests/Makefile.am +++ b/cachegrind/tests/Makefile.am @@ -30,4 +30,5 @@ myprint_so_LDFLAGS = $(AM_CFLAGS) -dynamic -dynamiclib -all_load -fpic else myprint_so_LDFLAGS = $(AM_CFLAGS) -shared -fPIC endif +myprint_so_SOURCES = myprint.c # Only needed for automake-1.7. myprint_so_CFLAGS = $(AM_CFLAGS) -fPIC diff --git a/exp-ptrcheck/tests/Makefile.am b/exp-ptrcheck/tests/Makefile.am index b3560ab9df..8a127899ff 100644 --- a/exp-ptrcheck/tests/Makefile.am +++ b/exp-ptrcheck/tests/Makefile.am @@ -111,6 +111,7 @@ endif endif endif +preen_invars_so_so_SOURCES = preen_invars_so.c # For automake-1.7. preen_invars_so_so_CFLAGS = $(AM_CFLAGS) -fpic if VGCONF_PLATFORMS_INCLUDE_PPC64_AIX5 preen_invars_so_so_LDFLAGS = -fpic $(AM_FLAG_M3264_PRI) -shared