Skip to content

Commit 57e82da

Browse files
author
sapcc-bot
committed
Run go-makefile-maker
1 parent 348262f commit 57e82da

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company
77
# SPDX-License-Identifier: Apache-2.0
88

9+
MAKEFLAGS=--warn-undefined-variables
910
# /bin/sh is dash on Debian which does not support all features of ash/bash
1011
# to fix that we use /bin/bash only on Debian to not break Alpine
1112
ifneq (,$(wildcard /etc/os-release)) # check file existence
@@ -49,11 +50,11 @@ prepare-static-check: FORCE install-golangci-lint install-modernize install-shel
4950

5051
# To add additional flags or values, specify the variable in the environment, e.g. `GO_BUILDFLAGS='-tags experimental' make`.
5152
# To override the default flags or values, specify the variable on the command line, e.g. `make GO_BUILDFLAGS='-tags experimental'`.
52-
GO_BUILDFLAGS := $(GO_BUILDFLAGS)
53-
GO_LDFLAGS := $(GO_LDFLAGS)
54-
GO_TESTFLAGS := $(GO_TESTFLAGS)
55-
GO_TESTENV := $(GO_TESTENV)
56-
GO_BUILDENV := $(GO_BUILDENV)
53+
GO_BUILDFLAGS +=
54+
GO_LDFLAGS +=
55+
GO_TESTFLAGS +=
56+
GO_TESTENV +=
57+
GO_BUILDENV +=
5758

5859
# These definitions are overridable, e.g. to provide fixed version/commit values when
5960
# no .git directory is present or to provide a fixed build date for reproducibility.
@@ -148,7 +149,6 @@ vars: FORCE
148149
@printf "BININFO_BUILD_DATE=$(BININFO_BUILD_DATE)\n"
149150
@printf "BININFO_COMMIT_HASH=$(BININFO_COMMIT_HASH)\n"
150151
@printf "BININFO_VERSION=$(BININFO_VERSION)\n"
151-
@printf "GO_BUILDENV=$(GO_BUILDENV)\n"
152152
@printf "GO_BUILDFLAGS=$(GO_BUILDFLAGS)\n"
153153
@printf "GO_COVERPKGS=$(GO_COVERPKGS)\n"
154154
@printf "GO_LDFLAGS=$(GO_LDFLAGS)\n"

0 commit comments

Comments
 (0)