mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-block/whdd: export CC to build system
Use tc-export function from toolchain-funcs eclass to export CC as environment variable. This is needed because build system of whdd (>=3.0) has no configure script, but straight makefile and Portage doesn't automatically export CC and other build-related environment variables.
This commit is contained in:
committed by
Michael Palimaka
parent
390386b252
commit
83b41f95c0
@@ -7,6 +7,8 @@ EAPI=6
|
||||
DESCRIPTION="Diagnostic and recovery tool for block devices"
|
||||
HOMEPAGE="https://whdd.github.io"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
if [[ ${PV} == 9999 ]]
|
||||
then
|
||||
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
|
||||
@@ -26,3 +28,8 @@ DEPEND="
|
||||
sys-libs/ncurses:0=[unicode]"
|
||||
RDEPEND="${DEPEND}
|
||||
sys-apps/smartmontools"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
default
|
||||
}
|
||||
|
||||
@@ -7,6 +7,8 @@ EAPI=6
|
||||
DESCRIPTION="Diagnostic and recovery tool for block devices"
|
||||
HOMEPAGE="https://whdd.github.io"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
if [[ ${PV} == 9999 ]]
|
||||
then
|
||||
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
|
||||
@@ -26,3 +28,8 @@ DEPEND="
|
||||
sys-libs/ncurses:0=[unicode]"
|
||||
RDEPEND="${DEPEND}
|
||||
sys-apps/smartmontools"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
default
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user