commit: 078ecf06a4f61864c028f4e5b53bec066f6db361
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sat May 1 13:31:22 2021 +0000
Commit: Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Sat May 1 14:02:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=078ecf06
sci-electronics/dsview: Set CC and AR.
The build system would fall back to hardcoded defaults otherwise.
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
sci-electronics/dsview/dsview-1.12.ebuild | 5 ++++-
sci-electronics/dsview/dsview-9999.ebuild | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/sci-electronics/dsview/dsview-1.12.ebuild
b/sci-electronics/dsview/dsview-1.12.ebuild
index 4db6cf8c8..c166a7f9a 100644
--- a/sci-electronics/dsview/dsview-1.12.ebuild
+++ b/sci-electronics/dsview/dsview-1.12.ebuild
@@ -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)"
diff --git a/sci-electronics/dsview/dsview-9999.ebuild
b/sci-electronics/dsview/dsview-9999.ebuild
index 4db6cf8c8..c166a7f9a 100644
--- a/sci-electronics/dsview/dsview-9999.ebuild
+++ b/sci-electronics/dsview/dsview-9999.ebuild
@@ -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)"