Skip to content

Commit

Permalink
hack: remove ORIG_BUILDFLAGS var
Browse files Browse the repository at this point in the history
This var was used for the cross target but it has been removed
in 8086f40 so not necessary anymore

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Jan 19, 2023
1 parent 0c008cc commit b80f161
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions hack/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b80f161

Please sign in to comment.