diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-28 17:41:16 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-29 09:16:35 -0700 |
commit | 3242db2138de7e0786ee3806f8bd016925d06099 (patch) | |
tree | c94ca08afabf7e167ef8753e33846af1bbaf8616 /locale | |
parent | f301e5334065e93aace667fd4a87bce6fc1dbd13 (diff) | |
download | glibc-3242db2138de7e0786ee3806f8bd016925d06099.tar.gz |
Use newly built crt*.o files to build shared objects [BZ #22362]
When multi-lib GCC is used to build glibc, the search order of GCC driver
for crt*.o is -B*/`gcc -print-multi-directory`, the installed diretory,
-B*/. This patch adds multi-lib support to csu/Makefile so that
-B/glibc-build-directory/csu/ will pick up the newly built crt*.o.
Tested on x86-64 for i686 and x32.
[BZ #22362]
* Makerules (make-link-multidir): New.
* config.make.in (multidir): New.
* configure.ac (libc_cv_multidir): New. AC_SUBST.
* configure: Regenerated.
* csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
[$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
[$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
New target.
Diffstat (limited to 'locale')
0 files changed, 0 insertions, 0 deletions