|
From: Tom H. <th...@cy...> - 2004-10-28 13:47:17
|
CVS commit by thughes:
Add -fno-omit-frame-pointer when building libpthread.so as that gets
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.
M +1 -0 Makefile.am 1.101
--- valgrind/coregrind/Makefile.am #1.100:1.101
@@ -130,4 +130,5 @@
${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 \
|