commit:     15a1fcd97f44599319b17b8ef0ddc7137838200c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 10 14:22:06 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 10 14:22:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15a1fcd9

flag-o-matic.eclass: add GDCFLAGS to all-flag-vars

This means e.g. toolchain.eclass can conveniently print it, but it
also enables a bunch of functions for GDCFLAGS.

Bug: https://bugs.gentoo.org/941680
Acked-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/flag-o-matic.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 4765809e9118..85274c91121f 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -24,7 +24,7 @@ inherit toolchain-funcs
 # @DESCRIPTION:
 # Return all the flag variables that our high level functions operate on.
 all-flag-vars() {
-       echo {ADA,C,CPP,CXX,CCAS,F,FC,LD}FLAGS
+       echo {ADA,C,CPP,CXX,CCAS,F,FC,GDC,LD}FLAGS
 }
 
 # @FUNCTION: setup-allowed-flags

Reply via email to