Skip to content

Commit

Permalink
[YUNIKORN-2987] Remove -installsuffix switch during build (#226)
Browse files Browse the repository at this point in the history
Closes: #226

Signed-off-by: Peter Bacsko <[email protected]>
  • Loading branch information
pbacsko committed Nov 26, 2024
1 parent 955a583 commit 10d02a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -296,13 +296,13 @@ ifeq ($(REPRO),1)
CGO_ENABLED=0 GOOS=linux GOARCH=\"${EXEC_ARCH}\" \
go build -a -o=${RELEASE_BIN_DIR}/${SERVER_BINARY} -trimpath -ldflags \
'-buildid= -extldflags \"-static\" -X main.version=${VERSION} -X main.date=${DATE}' \
-tags netgo -installsuffix netgo \
-tags netgo \
./pkg/cmd/web/"
else
CGO_ENABLED=0 GOOS=linux GOARCH="${EXEC_ARCH}" \
"$(GO)" build -a -o=${RELEASE_BIN_DIR}/${SERVER_BINARY} -trimpath -ldflags \
'-buildid= -extldflags "-static" -X main.version=${VERSION} -X main.date=${DATE}' \
-tags netgo -installsuffix netgo \
-tags netgo \
./pkg/cmd/web/
endif

Expand Down

0 comments on commit 10d02a0

Please sign in to comment.