summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-25 21:23:35 +0000
committerSam James <sam@gentoo.org>2021-04-25 22:00:48 +0000
commit044e2eaed9c9613eafad2bb51de3acbf58e8d003 (patch)
treeeef83b1c59bedfd91d7237031bcd145a586ac84c /app-forensics
parentapp-forensics/aflplusplus: fix install (diff)
downloadgentoo-044e2eaed9c9613eafad2bb51de3acbf58e8d003.tar.gz
gentoo-044e2eaed9c9613eafad2bb51de3acbf58e8d003.tar.bz2
gentoo-044e2eaed9c9613eafad2bb51de3acbf58e8d003.zip
app-forensics/aflplusplus: respect CXX
Closes: https://bugs.gentoo.org/779655 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild
index bd5b17d198b8..d6d3ef5f5104 100644
--- a/app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild
@@ -65,8 +65,16 @@ src_compile() {
MAN_PATH="${EPREFIX}/usr/share/man/man8"
}
+src_test() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)"
+}
+
src_install() {
emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
DESTDIR="${D}" \
PREFIX="${EPREFIX}/usr" \
HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \