These are recognised by cgo.

Signed-off-by: James Le Cuirot <[email protected]>
---
 eclass/go-env.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/go-env.eclass b/eclass/go-env.eclass
index 7b7a496b10fb..548c59e69f1d 100644
--- a/eclass/go-env.eclass
+++ b/eclass/go-env.eclass
@@ -33,7 +33,7 @@ inherit flag-o-matic toolchain-funcs
 # (e.g. "emerge-aarch64-cross-linux-gnu foo" run on x86_64 will emerge "foo" 
for x86_64
 #  instead of aarch64)
 go-env_set_compile_environment() {
-       tc-export CC CXX PKG_CONFIG
+       tc-export AR CC CXX FC PKG_CONFIG
 
        export GOARCH=$(go-env_goarch)
 
-- 
2.53.0


Reply via email to