From c66afdc69e1d90af162e72105cde1fcc9fd4b9cb Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 19 Jun 2008 08:14:52 +0000 Subject: 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 --git a/scripts/build/libc_uClibc.sh b/scripts/build/libc_uClibc.sh index 41dc62f..f86b34d 100644 --- a/scripts/build/libc_uClibc.sh +++ b/scripts/build/libc_uClibc.sh @@ -266,11 +266,15 @@ s/^# UCLIBC_CTOR_DTOR is not set/UCLIBC_CTOR_DTOR=y/ 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 @@ ENDSED ;; 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 @@ ENDSED ;; 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/ -- cgit v0.10.2-6-g49f6