dev-lang/ada-bootstrap: strip unsupported CXXFLAGS too

Bug: https://bugs.gentoo.org/938150
Bug: https://bugs.gentoo.org/940601
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-01-07 20:09:02 +00:00
parent 6b8e64afee
commit bac3705f1e

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -140,8 +140,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