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.
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}"
sys-libs/ncurses:0=[unicode]"
RDEPEND="${DEPEND}
sys-apps/smartmontools"
+
+src_compile() {
+ tc-export CC
+ default
+}
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}"
sys-libs/ncurses:0=[unicode]"
RDEPEND="${DEPEND}
sys-apps/smartmontools"
+
+src_compile() {
+ tc-export CC
+ default
+}