Browse Source

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

user/amery/cross
Christian Wiese 17 years ago committed by Alejandro Mery
parent
commit
ab36f32ceb
  1. 5
      base/glibc/glibc.conf

5
base/glibc/glibc.conf

@ -79,7 +79,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