commit:     aabd182f30135ef2f823886e347cfeb649917fc9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 13 08:38:07 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 22:44:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aabd182f

dev-libs/apr: respect CC

I tried with all the normal techniques to get this to happen and couldn't,
but maybe I'm just tired and missing something. Anyway, with these,
a few more things start respecting the env, but I couldn't actually get
CC to fail like it did in the bug.

Closes: https://bugs.gentoo.org/894150
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/apr/apr-1.7.2.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-libs/apr/apr-1.7.2.ebuild b/dev-libs/apr/apr-1.7.2.ebuild
index 771d24bf8a2e..0c6d2fae88d5 100644
--- a/dev-libs/apr/apr-1.7.2.ebuild
+++ b/dev-libs/apr/apr-1.7.2.ebuild
@@ -48,6 +48,8 @@ src_prepare() {
 }
 
 src_configure() {
+       tc-export AS CC CPP
+
        local myconf=(
                --enable-layout=gentoo
                --enable-nonportable-atomics

Reply via email to