cachegrind/tests/myprintf needs -fPIC on amd64
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3414 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/cachegrind/tests/Makefile.am b/cachegrind/tests/Makefile.am
index f35080f..f54a588 100644
--- a/cachegrind/tests/Makefile.am
+++ b/cachegrind/tests/Makefile.am
@@ -17,4 +17,5 @@
dlclose_SOURCES = dlclose.c
dlclose_LDADD = -ldl
myprint_so_SOURCES = myprint.c
-myprint_so_LDFLAGS = -shared
+myprint_so_LDFLAGS = -shared -fPIC
+myprint_so_CFLAGS = -fPIC