summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2018-01-08 15:44:07 +0900
committerBenda Xu <heroxbd@gentoo.org>2018-01-08 16:04:08 +0900
commit8c172ccf167e13746d5164c4f27fdc9588d06a11 (patch)
tree5d0ba2e8e57d381cfe2e632a89d7c6049b5f72b4 /eclass
parentprofile: add legacy prefix profile for >=linux-2.6.32. (diff)
downloadgentoo-8c172ccf167e13746d5164c4f27fdc9588d06a11.tar.gz
gentoo-8c172ccf167e13746d5164c4f27fdc9588d06a11.tar.bz2
gentoo-8c172ccf167e13746d5164c4f27fdc9588d06a11.zip
eclass/toolchain-glibc.eclass: fix double prefix.
alt_build_headers already has EPREFIX.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-glibc.eclass4
1 files 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 <linux/version.h>\nLINUX_VERSION_CODE\n' | \
- $(tc-getCPP ${CTARGET}) -I "${EPREFIX}/$(alt_build_headers)" - | \
+ $(tc-getCPP ${CTARGET}) -I "$(alt_build_headers)" - | \
tail -n 1
}