From 8c172ccf167e13746d5164c4f27fdc9588d06a11 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Mon, 8 Jan 2018 15:44:07 +0900 Subject: [PATCH] eclass/toolchain-glibc.eclass: fix double prefix. alt_build_headers already has EPREFIX. --- eclass/toolchain-glibc.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.26.2