From kde-commits Thu Oct 28 13:47:15 2004 From: Tom Hughes Date: Thu, 28 Oct 2004 13:47:15 +0000 To: kde-commits Subject: valgrind/coregrind Message-Id: <20041028134715.0398C16CD5 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=109897124100860 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 \