Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Commit

Permalink
add flags for external linker to satisfy RPMdiff bind-now test (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaideepr97 authored Mar 4, 2022
1 parent 3ad54e5 commit db69fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DARWIN=$(EXECUTABLE)_darwin_amd64
PKGS := $(shell go list ./... | grep -v test/e2e | grep -v vendor)
FMTPKGS := $(shell go list ./... | grep -v vendor)
VERSION=$(shell git describe --tags --always --long --dirty)
LD_FLAGS="-s -w -X github.com/redhat-developer/kam/pkg/cmd/version.Version=$(VERSION)"
LD_FLAGS='-s -w -X github.com/redhat-developer/kam/pkg/cmd/version.Version=$(VERSION) -extldflags "-Wl,-z,now"'

.PHONY: all_platforms
all_platforms: windows linux darwin
Expand Down

0 comments on commit db69fcb

Please sign in to comment.