Skip to content

Commit

Permalink
Mk/Uses/go.mk: Fix indentations
Browse files Browse the repository at this point in the history
[pre-commit] ERROR: go.mk is not properly indented -- please use
/tmp/check_indentations-go.mk.KpLlFV8WBv/go.mk which was created using
Tools/scripts/indent_make_if.pl

Reported by:	'check_mk_indentations' pre-commit hook
  • Loading branch information
BSDKaffee committed Aug 22, 2023
1 parent e6d6b20 commit f12e09a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Mk/Uses/go.mk
Expand Up @@ -90,11 +90,11 @@ GO_PKGNAME= ${PORTNAME}
GO_TARGET?= ${GO_PKGNAME}
GO_TESTTARGET?= ./...

.if !defined(PIE_UNSAFE) && defined(WITH_PIE) && ${ARCH} == amd64
. if !defined(PIE_UNSAFE) && defined(WITH_PIE) && ${ARCH} == amd64
GO_BUILDFLAGS+= -buildmode=pie
.else
. else
GO_BUILDFLAGS+= -buildmode=exe
.endif
. endif
GO_BUILDFLAGS+= -v -trimpath
. if !defined(WITH_DEBUG) && empty(GO_BUILDFLAGS:M-ldflags*)
GO_BUILDFLAGS+= -ldflags=-s
Expand Down

0 comments on commit f12e09a

Please sign in to comment.