eclass/toolchain-glibc.eclass: fix double prefix.
authorBenda Xu <heroxbd@gentoo.org>
Mon, 8 Jan 2018 06:44:07 +0000 (15:44 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Mon, 8 Jan 2018 07:04:08 +0000 (16:04 +0900)
  alt_build_headers already has EPREFIX.

eclass/toolchain-glibc.eclass

index fb7092daa97ba3e739951649abd9ad9adc681678..bea0299d3de6b2a154d36e908a745bc4aa1aaad0 100644 (file)
@@ -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
 }