commit:     074751b72e6b44f264e1908e603205fa63cf6863
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  6 13:25:34 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Jun  6 13:28:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=074751b7

sys-libs/glibc: glibc_headers_install should use $(alt_prefix).

  do not hardcode /usr/${CTARGET}.

 sys-libs/glibc/files/eblits/src_install.eblit | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/glibc/files/eblits/src_install.eblit 
b/sys-libs/glibc/files/eblits/src_install.eblit
index f0017fa..a23173e 100644
--- a/sys-libs/glibc/files/eblits/src_install.eblit
+++ b/sys-libs/glibc/files/eblits/src_install.eblit
@@ -212,7 +212,7 @@ toolchain-glibc_headers_install() {
        # Make sure we install the sys-include symlink so that when
        # we build a 2nd stage cross-compiler, gcc finds the target
        # system headers correctly.  See gcc/doc/gccinstall.info
-       dosym usr/include /usr/${CTARGET}/sys-include
+       dosym usr/include $(alt_prefix)/sys-include
 }
 
 src_strip() {

Reply via email to