diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-16 12:22:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-16 12:22:56 +0100 |
commit | 2ca31eebd5b7496656193e0aa6ae39200d69a017 (patch) | |
tree | 6cf0c8f4ce90a3960c27acf45011134fb674dd62 /eclass/go-env.eclass | |
parent | 3ad1879f00b279af69d6b9cd3ef97a2a7496d734 (diff) |
gentoo auto-resync : 16:08:2024 - 12:22:56
Diffstat (limited to 'eclass/go-env.eclass')
-rw-r--r-- | eclass/go-env.eclass | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/eclass/go-env.eclass b/eclass/go-env.eclass index be131133113b..11fdf943e774 100644 --- a/eclass/go-env.eclass +++ b/eclass/go-env.eclass @@ -46,6 +46,16 @@ go-env_set_compile_environment() { export CGO_CPPFLAGS="${CGO_CPPFLAGS:-$CPPFLAGS}" export CGO_CXXFLAGS="${CGO_CXXFLAGS:-$CXXFLAGS}" export CGO_LDFLAGS="${CGO_LDFLAGS:-$LDFLAGS}" + + # bug #929219 + if tc-is-gcc ; then + CGO_CFLAGS=$( + CFLAGS=${CGO_CFLAGS} + replace-flags -g3 -g + replace-flags -ggdb3 -ggdb + printf %s "${CFLAGS}" + ) + fi } # @FUNCTION: go-env_goos |