From a404d111fa4092470830b6dfadf21f1e69ca8a75 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Fri, 15 Dec 2023 09:54:52 +0100 Subject: [PATCH] wip Signed-off-by: Federico Di Pierro --- .goreleaser.yml | 1 - Makefile | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index fe03f0ae..56aef7d2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -11,7 +11,6 @@ builds: main: . flags: - -v - - -buildmode=pie ldflags: - "{{.Env.LDFLAGS}}" binary: driverkit diff --git a/Makefile b/Makefile index 48a4700b..736e0173 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ driverkit_docgen ?= _output/bin/docgen build: clean ${driverkit} ${driverkit}: - CGO_ENABLED=0 GOEXPERIMENT=loopvar go build -v -buildmode=pie -ldflags '${LDFLAGS}' -o $@ . + CGO_ENABLED=0 GOEXPERIMENT=loopvar go build -v -ldflags '${LDFLAGS}' -o $@ . .PHONY: release release: clean @@ -101,7 +101,7 @@ manifest/latest: test: go clean -testcache GOEXPERIMENT=loopvar go test -v -cover -race ./... - GOEXPERIMENT=loopvar go test -v -cover -buildmode=pie ./cmd + GOEXPERIMENT=loopvar go test -v -cover ./cmd .PHONY: integration_test integration_test: $(test_configs)