mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
sys-boot/elilo: [QA] inline ESYSROOT
ESYSROOT is SYSROOT/EPREFIX in >= EAPI 7 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -62,7 +62,7 @@ src_compile() {
|
||||
# "prefix" on the next line specifies where to find gcc, as, ld,
|
||||
# etc. It's not the usual meaning of "prefix". By blanking it we
|
||||
# allow PATH to be searched.
|
||||
local libdir="${SYSROOT}${EPREFIX}/usr/$(get_libdir)"
|
||||
local libdir="${ESYSROOT}/usr/$(get_libdir)"
|
||||
emake -j1 \
|
||||
prefix= \
|
||||
AS="$(tc-getAS)" \
|
||||
@@ -71,7 +71,7 @@ src_compile() {
|
||||
OBJCOPY="$(tc-getOBJCOPY)" \
|
||||
HOSTARCH=${iarch} \
|
||||
ARCH=${iarch} \
|
||||
EFIINC="${SYSROOT}${EPREFIX}/usr/include/efi" \
|
||||
EFIINC="${ESYSROOT}/usr/include/efi" \
|
||||
GNUEFILIB="${libdir}" \
|
||||
EFILIB="${libdir}" \
|
||||
EFICRT0="${libdir}" \
|
||||
|
||||
Reference in New Issue
Block a user