Browse Source

glibc: Check if the length of $tls_arch is non-zero before injecting "libc_cv_${tls_arch}_tls=yes"

crossperl
Christian Wiese 17 years ago
committed by Alejandro Mery
parent
commit
536170bf6e
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      base/glibc/glibc.conf

+ 4
- 1
base/glibc/glibc.conf

@ -77,7 +77,10 @@ if [ $SDECFG_PKG_GLIBC_TLS = 1 ]; then
tls_arch=x86_64
;;
esac
var_append configcache ' ' "libc_cv_${tls_arch}_tls=yes"
if [ -n "$tls_arch" ]; then
var_append configcache ' ' \
"libc_cv_${tls_arch}_tls=yes"
fi
else
# extra configure options for cross stage
var_append extraconfopt " " "--with-tls"

Loading…
Cancel
Save