This is an automated email from the ASF dual-hosted git repository.

pbacsko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-web.git


The following commit(s) were added to refs/heads/master by this push:
     new 10d02a0  [YUNIKORN-2987] Remove -installsuffix switch during build 
(#226)
10d02a0 is described below

commit 10d02a0a835845d8b15e2d33138ac8a2edf01a80
Author: Peter Bacsko <[email protected]>
AuthorDate: Tue Nov 26 10:53:16 2024 +0100

    [YUNIKORN-2987] Remove -installsuffix switch during build (#226)
    
    Closes: #226
    
    Signed-off-by: Peter Bacsko <[email protected]>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 8dbc072..4996310 100644
--- a/Makefile
+++ b/Makefile
@@ -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
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to