mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-03 04:01:43 +08:00
Make tilegx32 install libraries in lib32 directories.
This patch makes tilegx32 install libraries in lib32 directories, matching what GCC expects and avoiding conflict with 64-bit libraries installed in lib directories. Tested (compilation only) for tilegx (32-bit and 64-bit, BE and LE, GCC 5). * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use LIBC_SLIBDIR_RTLDDIR for tilegx32. * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
This commit is contained in:
parent
e6502dfb88
commit
ba1cafea16
@ -1,3 +1,9 @@
|
||||
2016-11-14 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
|
||||
LIBC_SLIBDIR_RTLDDIR for tilegx32.
|
||||
* sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
|
||||
|
||||
2016-11-14 Zack Weinberg <zackw@panix.com>
|
||||
|
||||
* sunrpc/Makefile (rpcgen-tests): Delete the .out file before
|
||||
|
17
sysdeps/unix/sysv/linux/tile/tilegx/configure
vendored
17
sysdeps/unix/sysv/linux/tile/tilegx/configure
vendored
@ -2,3 +2,20 @@
|
||||
# Local configure fragment for sysdeps/unix/sysv/linux/tile/tilegx
|
||||
|
||||
ldd_rewrite_script=$dir/ldd-rewrite.sed
|
||||
|
||||
case $machine in
|
||||
tile/tilegx/tilegx32)
|
||||
test -n "$libc_cv_slibdir" ||
|
||||
case "$prefix" in
|
||||
/usr | /usr/)
|
||||
libc_cv_slibdir=/lib32
|
||||
libc_cv_rtlddir=/lib32
|
||||
if test "$libdir" = '${exec_prefix}/lib'; then
|
||||
libdir='${exec_prefix}/lib32';
|
||||
# Locale data can be shared between 32-bit and 64-bit libraries.
|
||||
libc_cv_complocaledir='${exec_prefix}/lib/locale'
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
@ -2,3 +2,9 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
||||
# Local configure fragment for sysdeps/unix/sysv/linux/tile/tilegx
|
||||
|
||||
ldd_rewrite_script=$dir/ldd-rewrite.sed
|
||||
|
||||
case $machine in
|
||||
tile/tilegx/tilegx32)
|
||||
LIBC_SLIBDIR_RTLDDIR([lib32], [lib32])
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user