# HG changeset patch # User "Yann E. MORIN" # Date 1213863292 0 # Node ID 8e39bc2e91b6adb33d7368ec8febb8292e7a35dd # Parent c9775d1d713dcb6377e9cc10d09c665ff9977408 When building uClibc, always build the libpthread_db. /trunk/scripts/build/libc_uClibc.sh | 8 5 3 0 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff -r c9775d1d713d -r 8e39bc2e91b6 scripts/build/libc_uClibc.sh --- a/scripts/build/libc_uClibc.sh Wed Jun 18 14:16:01 2008 +0000 +++ b/scripts/build/libc_uClibc.sh Thu Jun 19 08:14:52 2008 +0000 @@ -266,11 +266,15 @@ ENDSED fi + # Always build the libpthread_db + cat >>"${munge_file}" <<-ENDSED +s/^# PTHREADS_DEBUG_SUPPORT is not set.*/PTHREADS_DEBUG_SUPPORT=y/ +ENDSED + # Force on debug options if asked for case "${CT_LIBC_UCLIBC_DEBUG_LEVEL}" in 0) cat >>"${munge_file}" <<-ENDSED -s/^PTHREADS_DEBUG_SUPPORT=y/# PTHREADS_DEBUG_SUPPORT is not set/ s/^DODEBUG=y/# DODEBUG is not set/ s/^DODEBUG_PT=y/# DODEBUG_PT is not set/ s/^DOASSERTS=y/# DOASSERTS is not set/ @@ -281,7 +285,6 @@ ;; 1) cat >>"${munge_file}" <<-ENDSED -s/^# PTHREADS_DEBUG_SUPPORT is not set.*/PTHREADS_DEBUG_SUPPORT=y/ s/^# DODEBUG is not set.*/DODEBUG=y/ s/^DODEBUG_PT=y/# DODEBUG_PT is not set/ s/^DOASSERTS=y/# DOASSERTS is not set/ @@ -292,7 +295,6 @@ ;; 2) cat >>"${munge_file}" <<-ENDSED -s/^# PTHREADS_DEBUG_SUPPORT is not set.*/PTHREADS_DEBUG_SUPPORT=y/ s/^# DODEBUG is not set.*/DODEBUG=y/ s/^# DODEBUG_PT is not set.*/DODEBUG_PT=y/ s/^# DOASSERTS is not set.*/DOASSERTS=y/