Browse Source

glibc: Added config cache tweaks for powerpc improving cross-compiling

user/amery/cross
Christian Wiese 17 years ago
committed by Alejandro Mery
parent
commit
c30de4d73e
1 changed files with 11 additions and 2 deletions
  1. +11
    -2
      base/glibc/glibc.conf

+ 11
- 2
base/glibc/glibc.conf

@ -69,14 +69,23 @@ if [ $SDECFG_PKG_GLIBC_TLS = 1 ]; then
# tls config.cache tweaks for toolchain stage # tls config.cache tweaks for toolchain stage
if atstage toolchain ; then if atstage toolchain ; then
case "$arch" in case "$arch" in
powerpc64)
tls_arch=powerpc64
powerpc)
tls_arch=powerpc32
var_append configcache ' ' \ var_append configcache ' ' \
"libc_cv_ppc_machine=yes" "libc_cv_ppc_machine=yes"
var_append configcache ' ' \
"libc_cv_mlong_double_128=yes"
var_append configcache ' ' \ var_append configcache ' ' \
"libc_cv_mlong_double_128ibm=yes" "libc_cv_mlong_double_128ibm=yes"
;;
powerpc64)
tls_arch=powerpc64
var_append configcache ' ' \
"libc_cv_ppc_machine=yes"
var_append configcache ' ' \ var_append configcache ' ' \
"libc_cv_mlong_double_128=yes" "libc_cv_mlong_double_128=yes"
var_append configcache ' ' \
"libc_cv_mlong_double_128ibm=yes"
;; ;;
sparc64) sparc64)
tls_arch=sparc64 tls_arch=sparc64

Loading…
Cancel
Save