Skip to content

Commit

Permalink
chore: remove parsebool script
Browse files Browse the repository at this point in the history
The reason is same as in siderolabs/talos#3678, it breaks
release-tool.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
  • Loading branch information
smira authored and talos-bot committed May 26, 2021
1 parent e558d18 commit 5bfcb9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ GO_LDFLAGS ?=
WITH_RACE ?= false
WITH_DEBUG ?= false

ifeq ($(shell hack/parsebool.sh $(WITH_RACE); echo $$?), 1)
ifneq (, $(filter $(WITH_RACE), t true TRUE y yes 1))
CGO_ENABLED = 1
GO_BUILDFLAGS += -race
GO_LDFLAGS += -linkmode=external -extldflags '-static'
endif

ifeq ($(shell hack/parsebool.sh $(WITH_DEBUG); echo $$?), 1)
ifneq (, $(filter $(WITH_DEBUG), t true TRUE y yes 1))
GO_BUILDFLAGS += -tags sidero.debug
else
GO_LDFLAGS += -s -w
Expand Down
16 changes: 0 additions & 16 deletions hack/parsebool.sh

This file was deleted.

0 comments on commit 5bfcb9d

Please sign in to comment.