소스 검색

hack: remove -installsuffix build flag

Has been introduced in 232d59baeb13778abc242a602ca434d83e1eb6e8 to work around a bug with
"go build" but not required anymore since go 1.5: https://github.com/golang/go/commit/4dab6d01f12591f256d36b32cd6480ef679458f1

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax 2 년 전
부모
커밋
0c008cc4f8
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      hack/make.sh

+ 1 - 2
hack/make.sh

@@ -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[@]}")