loaded into the user's program and we want to be able to trace the
stack properly. Also add -fpic given that the code is going into a
shared library.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2869
${VG_ARCH}/libpthread.c \
${VG_PLATFORM}/syscall.S
libpthread_so_DEPENDENCIES = $(srcdir)/vg_libpthread.vs
+libpthread_so_CFLAGS = $(AM_CFLAGS) -fpic -fno-omit-frame-pointer
libpthread_so_LDFLAGS = -Werror -fno-omit-frame-pointer -UVG_LIBDIR \
-shared -ldl \
-Wl,-version-script $(srcdir)/vg_libpthread.vs \