aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Scardovi <marco@scardovi.com>2021-06-26 21:25:37 +0200
committerMarco Scardovi <marco@scardovi.com>2021-06-26 21:25:37 +0200
commit42795b6061170e10b0ec74e15e5bf6bb02cd45eb (patch)
tree2e07fdd7007e292f6babb7508b92d4a80dceaefa /net-dialup
parentgnome-extra/iio-sensor-proxy: force systemd (diff)
downloadguru-42795b6061170e10b0ec74e15e5bf6bb02cd45eb.tar.gz
guru-42795b6061170e10b0ec74e15e5bf6bb02cd45eb.tar.bz2
guru-42795b6061170e10b0ec74e15e5bf6bb02cd45eb.zip
net-dialup/atinout: fix calls cc directly
Closes: https://bugs.gentoo.org/798795 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Marco Scardovi <marco@scardovi.com>
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/atinout/atinout-0.9.1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-dialup/atinout/atinout-0.9.1.ebuild b/net-dialup/atinout/atinout-0.9.1.ebuild
index 1232e50b8..77408bdff 100644
--- a/net-dialup/atinout/atinout-0.9.1.ebuild
+++ b/net-dialup/atinout/atinout-0.9.1.ebuild
@@ -3,6 +3,8 @@
EAPI=7
+inherit toolchain-funcs
+
DESCRIPTION="AT commands as input are sent to modem and responses given as output"
HOMEPAGE="http://atinout.sourceforge.net/index.html"
SRC_URI="https://netix.dl.sourceforge.net/project/atinout/v0.9.1/${P}.tar.gz"
@@ -16,4 +18,6 @@ PATCHES=(
"${FILESDIR}"/0002-do-not-rely-on-CR-in-modem-output.patch
)
-QA_PREBUILT="/usr/bin/atinout"
+src_compile() {
+ CC="$(tc-getCC)" emake LDFLAGS="${LDFLAGS}"
+}