hack: remove -installsuffix build flag
Has been introduced in232d59baeb
to work around a bug with "go build" but not required anymore since go 1.5:4dab6d01f1
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> (cherry picked from commit0c008cc4f8
) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
9f62b37a62
commit
df2fe70049
1 changed files with 1 additions and 2 deletions
|
@ -114,8 +114,7 @@ LDFLAGS_STATIC=''
|
|||
EXTLDFLAGS_STATIC='-static'
|
||||
# ORIG_BUILDFLAGS is necessary for the cross target which cannot always build
|
||||
# with options like -race.
|
||||
ORIG_BUILDFLAGS=(-tags "netgo osusergo static_build $DOCKER_BUILDTAGS" -installsuffix netgo)
|
||||
# see https://github.com/golang/go/issues/9369#issuecomment-69864440 for why -installsuffix is necessary here
|
||||
ORIG_BUILDFLAGS=(-tags "netgo osusergo static_build $DOCKER_BUILDTAGS")
|
||||
|
||||
BUILDFLAGS=(${BUILDFLAGS} "${ORIG_BUILDFLAGS[@]}")
|
||||
|
||||
|
|
Loading…
Reference in a new issue