When building uClibc, always build the libpthread_db.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jun 19 08:14:52 2008 +0000 (2008-06-19)
changeset 5788e39bc2e91b6
parent 577 c9775d1d713d
child 579 f3693a8c40f4
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(-)
scripts/build/libc_uClibc.sh
     1.1 --- a/scripts/build/libc_uClibc.sh	Wed Jun 18 14:16:01 2008 +0000
     1.2 +++ b/scripts/build/libc_uClibc.sh	Thu Jun 19 08:14:52 2008 +0000
     1.3 @@ -266,11 +266,15 @@
     1.4  ENDSED
     1.5      fi
     1.6  
     1.7 +    # Always build the libpthread_db
     1.8 +    cat >>"${munge_file}" <<-ENDSED
     1.9 +s/^# PTHREADS_DEBUG_SUPPORT is not set.*/PTHREADS_DEBUG_SUPPORT=y/
    1.10 +ENDSED
    1.11 +
    1.12      # Force on debug options if asked for
    1.13      case "${CT_LIBC_UCLIBC_DEBUG_LEVEL}" in
    1.14        0)
    1.15          cat >>"${munge_file}" <<-ENDSED
    1.16 -s/^PTHREADS_DEBUG_SUPPORT=y/# PTHREADS_DEBUG_SUPPORT is not set/
    1.17  s/^DODEBUG=y/# DODEBUG is not set/
    1.18  s/^DODEBUG_PT=y/# DODEBUG_PT is not set/
    1.19  s/^DOASSERTS=y/# DOASSERTS is not set/
    1.20 @@ -281,7 +285,6 @@
    1.21          ;;
    1.22        1)
    1.23          cat >>"${munge_file}" <<-ENDSED
    1.24 -s/^# PTHREADS_DEBUG_SUPPORT is not set.*/PTHREADS_DEBUG_SUPPORT=y/
    1.25  s/^# DODEBUG is not set.*/DODEBUG=y/
    1.26  s/^DODEBUG_PT=y/# DODEBUG_PT is not set/
    1.27  s/^DOASSERTS=y/# DOASSERTS is not set/
    1.28 @@ -292,7 +295,6 @@
    1.29          ;;
    1.30        2)
    1.31          cat >>"${munge_file}" <<-ENDSED
    1.32 -s/^# PTHREADS_DEBUG_SUPPORT is not set.*/PTHREADS_DEBUG_SUPPORT=y/
    1.33  s/^# DODEBUG is not set.*/DODEBUG=y/
    1.34  s/^# DODEBUG_PT is not set.*/DODEBUG_PT=y/
    1.35  s/^# DOASSERTS is not set.*/DOASSERTS=y/