commit:     6b8e64afee3767d708144c0f7604a1432fe8618b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  7 20:06:43 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan  7 20:06:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b8e64af

dev-lang/gnat-gpl: strip unsupported CXXFLAGS too

Bug: https://bugs.gentoo.org/938150
Bug: https://bugs.gentoo.org/940601
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild 
b/dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild
index 24781590d295..9cd6e5595182 100644
--- a/dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild
+++ b/dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild
@@ -149,8 +149,8 @@ src_configure() {
        # conservative, we just want it to build for bootstrapping proper
        # sys-devel/gcc[ada]. We don't need it to be fast.
        strip-flags
-       CC="${WORKDIR}"/${BTSTRP}/bin/gcc strip-unsupported-flags
-       CC="${WORKDIR}"/${GNATDIR}/bin/gcc strip-unsupported-flags
+       CC="${WORKDIR}"/${BTSTRP}/bin/gcc CXX="${WORKDIR}"/${BTSTRP}/bin/g++ 
strip-unsupported-flags
+       CC="${WORKDIR}"/${GNATDIR}/bin/gcc CXX="${WORKDIR}"/${GNATDIR}/bin/g++ 
strip-unsupported-flags
        strip-unsupported-flags
        filter-lto
        append-flags -O2

Reply via email to