Explorar o código

hack: remove ORIG_BUILDFLAGS var

This var was used for the cross target but it has been removed
in 8086f4012330d1c1058e07fc4e5e4522dd432c20 so not necessary anymore

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax %!s(int64=2) %!d(string=hai) anos
pai
achega
b80f16157e
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  1. 1 5
      hack/make.sh

+ 1 - 5
hack/make.sh

@@ -110,11 +110,7 @@ fi
 
 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")
-
-BUILDFLAGS=(${BUILDFLAGS} "${ORIG_BUILDFLAGS[@]}")
+BUILDFLAGS=(${BUILDFLAGS} -tags "netgo osusergo static_build $DOCKER_BUILDTAGS")
 
 LDFLAGS_STATIC_DOCKER="
 	$LDFLAGS_STATIC