From: Benda Xu Date: Mon, 8 Jan 2018 06:44:07 +0000 (+0900) Subject: eclass/toolchain-glibc.eclass: fix double prefix. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8c172ccf167e13746d5164c4f27fdc9588d06a11;p=gentoo.git eclass/toolchain-glibc.eclass: fix double prefix. alt_build_headers already has EPREFIX. --- diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass index fb7092daa97b..bea0299d3de6 100644 --- a/eclass/toolchain-glibc.eclass +++ b/eclass/toolchain-glibc.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: toolchain-glibc.eclass @@ -592,7 +592,7 @@ eend_KV() { get_kheader_version() { printf '#include \nLINUX_VERSION_CODE\n' | \ - $(tc-getCPP ${CTARGET}) -I "${EPREFIX}/$(alt_build_headers)" - | \ + $(tc-getCPP ${CTARGET}) -I "$(alt_build_headers)" - | \ tail -n 1 }