Gentoo Archives: gentoo-commits

From: Benda XU <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 08 Jan 2018 07:06:01
Message-Id: 1515395048.8c172ccf167e13746d5164c4f27fdc9588d06a11.heroxbd@gentoo
1 commit: 8c172ccf167e13746d5164c4f27fdc9588d06a11
2 Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 8 06:44:07 2018 +0000
4 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 8 07:04:08 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c172ccf
7
8 eclass/toolchain-glibc.eclass: fix double prefix.
9
10 alt_build_headers already has EPREFIX.
11
12 eclass/toolchain-glibc.eclass | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass
16 index fb7092daa97..bea0299d3de 100644
17 --- a/eclass/toolchain-glibc.eclass
18 +++ b/eclass/toolchain-glibc.eclass
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2017 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 # @ECLASS: toolchain-glibc.eclass
25 @@ -592,7 +592,7 @@ eend_KV() {
26
27 get_kheader_version() {
28 printf '#include <linux/version.h>\nLINUX_VERSION_CODE\n' | \
29 - $(tc-getCPP ${CTARGET}) -I "${EPREFIX}/$(alt_build_headers)" - | \
30 + $(tc-getCPP ${CTARGET}) -I "$(alt_build_headers)" - | \
31 tail -n 1
32 }