net-misc/q: Link binary statically
Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
parent
d61016dd44
commit
27f9602652
@ -33,6 +33,8 @@ RDEPEND="${DEPEND}"
|
|||||||
BDEPEND=""
|
BDEPEND=""
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
|
||||||
# Flags -w, -s: Omit debugging information to reduce binary size,
|
# Flags -w, -s: Omit debugging information to reduce binary size,
|
||||||
# see https://golang.org/cmd/link/.
|
# see https://golang.org/cmd/link/.
|
||||||
local mygobuildargs=(
|
local mygobuildargs=(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user