Browse code

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 authored on 2023/01/19 04:14:52
Showing 1 changed files
... ...
@@ -110,11 +110,7 @@ fi
110 110
 
111 111
 LDFLAGS_STATIC=''
112 112
 EXTLDFLAGS_STATIC='-static'
113
-# ORIG_BUILDFLAGS is necessary for the cross target which cannot always build
114
-# with options like -race.
115
-ORIG_BUILDFLAGS=(-tags "netgo osusergo static_build $DOCKER_BUILDTAGS")
116
-
117
-BUILDFLAGS=(${BUILDFLAGS} "${ORIG_BUILDFLAGS[@]}")
113
+BUILDFLAGS=(${BUILDFLAGS} -tags "netgo osusergo static_build $DOCKER_BUILDTAGS")
118 114
 
119 115
 LDFLAGS_STATIC_DOCKER="
120 116
 	$LDFLAGS_STATIC