commit:     7a947c56a6ae2dc97d56daf4a9e9872d20ee5691
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 26 07:24:11 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 26 07:24:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a947c56

sys-devel/qbe: sync live

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/qbe/qbe-9999.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-devel/qbe/qbe-9999.ebuild b/sys-devel/qbe/qbe-9999.ebuild
index 2b2487f3dbbd..d041b7d0b849 100644
--- a/sys-devel/qbe/qbe-9999.ebuild
+++ b/sys-devel/qbe/qbe-9999.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit toolchain-funcs
+
 if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="git://c9x.me/qbe.git"
        inherit git-r3
@@ -22,6 +24,8 @@ SLOT="0"
 DOCS=( README doc )
 
 src_compile() {
+       tc-export CC
+
        emake CFLAGS="-std=c99 ${CPPFLAGS} ${CFLAGS}"
 }
 

Reply via email to