openSUSE / golang-packaging

golang packaging tool for openSUSE
GNU General Public License v3.0
6 stars 13 forks source link

Pass linker flag via ldflags #20

Closed moio closed 6 years ago

moio commented 6 years ago

go install in go 1.10 does not seem to accept -s directly any more:

+ go install -s -v -p 4 -x -buildmode=pie github.com/prometheus/promu
flag provided but not defined: -s
cyphar commented 6 years ago

LGTM.