diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-21 11:40:40 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-21 11:40:40 +0000 |
commit | bae478b64a6bc9eca66b65bcfa318fc21e7f34bb (patch) | |
tree | f713006fd9c119e5dbb3bdafe7d695d2644da94c /eclass | |
parent | 374561aeaff53ce5a2836af934749923b4ea3763 (diff) |
gentoo auto-resync : 21:01:2023 - 11:40:40
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/Manifest.gz | bin | 37524 -> 37516 bytes | |||
-rw-r--r-- | eclass/go-module.eclass | 5 |
2 files changed, 3 insertions, 2 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz Binary files differindex 929fb4bd945c..642c138f3fcd 100644 --- a/eclass/Manifest.gz +++ b/eclass/Manifest.gz diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index 10ed475c5b11..08e9f267d0af 100644 --- a/eclass/go-module.eclass +++ b/eclass/go-module.eclass @@ -1,4 +1,4 @@ -# Copyright 2019-2022 Gentoo Authors +# Copyright 2019-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: go-module.eclass @@ -95,11 +95,12 @@ export GOCACHE="${T}/go-build" export GOMODCACHE="${WORKDIR}/go-mod" # The following go flags should be used for all builds. +# -buildmode=pie builds position independent executables # -buildvcs=false omits version control information # -modcacherw makes the build cache read/write # -v prints the names of packages as they are compiled # -x prints commands as they are executed -export GOFLAGS="-buildvcs=false -modcacherw -v -x" +export GOFLAGS="-buildmode=pie -buildvcs=false -modcacherw -v -x" # Do not complain about CFLAGS etc since go projects do not use them. QA_FLAGS_IGNORED='.*' |