Skip to content

Commit 9d48e3d

Browse files
author
sapcc-bot
committed
Run go-makefile-maker
1 parent ab47541 commit 9d48e3d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Makefile

Lines changed: 6 additions & 5 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
@@ -50,11 +51,11 @@ prepare-static-check: FORCE install-golangci-lint install-modernize install-shel
5051

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

5960
# These definitions are overridable, e.g. to provide fixed version/commit values when
6061
# no .git directory is present or to provide a fixed build date for reproducibility.

0 commit comments

Comments
 (0)