sys-libs/glibc: glibc_headers_install should use $(alt_prefix).
authorBenda Xu <heroxbd@gentoo.org>
Mon, 6 Jun 2016 13:25:34 +0000 (22:25 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Mon, 6 Jun 2016 13:28:11 +0000 (22:28 +0900)
  do not hardcode /usr/${CTARGET}.

sys-libs/glibc/files/eblits/src_install.eblit

index f0017fa53b2a5115ba3c2409b3a3d82b32c4ad58..a23173eb961c414ea22548355adee53f6f1ef66a 100644 (file)
@@ -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() {