sci-electronics/dsview: Set CC and AR.

The build system would fall back to hardcoded defaults otherwise.

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2021-05-01 15:31:22 +02:00
parent 43a62f7148
commit 078ecf06a4
2 changed files with 8 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
GITHUB_PN="DSView"
inherit autotools cmake python-r1 udev xdg
inherit autotools cmake python-r1 toolchain-funcs udev xdg
DESCRIPTION="An open source multi-function instrument"
HOMEPAGE="
@@ -52,6 +52,9 @@ PATCHES=(
)
src_prepare() {
export CC="$(tc-getCC)"
export AR="$(tc-getAR)"
default
local LIBDIR="/usr/$(get_libdir)"

View File

@@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
GITHUB_PN="DSView"
inherit autotools cmake python-r1 udev xdg
inherit autotools cmake python-r1 toolchain-funcs udev xdg
DESCRIPTION="An open source multi-function instrument"
HOMEPAGE="
@@ -52,6 +52,9 @@ PATCHES=(
)
src_prepare() {
export CC="$(tc-getCC)"
export AR="$(tc-getAR)"
default
local LIBDIR="/usr/$(get_libdir)"