|
@@ -112,8 +112,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[@]}")
|
|
|
|