mirror of
https://github.com/moby/moby.git
synced 2026-08-03 22:51:03 +00:00
hack: remove -installsuffix build flag
Has been introduced in232d59baebto work around a bug with "go build" but not required anymore since go 1.5:4dab6d01f1Signed-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:
committed by
Sebastiaan van Stijn
parent
9f62b37a62
commit
df2fe70049
@@ -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[@]}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user