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(-)
This commit is contained in:
Yann E. MORIN" 2008-06-19 08:14:52 +00:00
parent a8bfc05f9f
commit c66afdc69e

View File

@ -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/