Blame sysdeps/aarch64/configure.ac
|
Packit Service |
82fcde |
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
|
Packit Service |
82fcde |
# Local configure fragment for sysdeps/aarch64.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
# We check to see if the compiler and flags are
|
|
Packit Service |
82fcde |
# selecting the big endian ABI and if they are then
|
|
Packit Service |
82fcde |
# we set libc_cv_aarch64_be to yes which causes
|
|
Packit Service |
82fcde |
# HAVE_AARCH64_BE to be defined in config.h and
|
|
Packit Service |
82fcde |
# in include/libc-symbols.h and thus available to
|
|
Packit Service |
82fcde |
# shlib-versions to select the appropriate name for
|
|
Packit Service |
82fcde |
# the dynamic linker via %ifdef.
|
|
Packit Service |
82fcde |
AC_CACHE_CHECK([for big endian],
|
|
Packit Service |
82fcde |
[libc_cv_aarch64_be],
|
|
Packit Service |
82fcde |
[AC_EGREP_CPP(yes,[#ifdef __AARCH64EB__
|
|
Packit Service |
82fcde |
yes
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
], libc_cv_aarch64_be=yes, libc_cv_aarch64_be=no)])
|
|
Packit Service |
82fcde |
if test $libc_cv_aarch64_be = yes; then
|
|
Packit Service |
82fcde |
AC_DEFINE(HAVE_AARCH64_BE)
|
|
Packit Service |
82fcde |
LIBC_CONFIG_VAR([default-abi], [lp64_be])
|
|
Packit Service |
82fcde |
else
|
|
Packit Service |
82fcde |
LIBC_CONFIG_VAR([default-abi], [lp64])
|
|
Packit Service |
82fcde |
fi
|