From 7b14c02d0d4b32e1976bbc51b9ec73112d8ce17e Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Thu, 30 Jan 2020 07:50:15 +0100 Subject: Makefile: systemd: echo instead of warn Just echo the message instead of warning to not impact the exit code. Signed-off-by: Valentin Rothberg --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9a1a4dc40..666f4a1ed 100644 --- a/Makefile +++ b/Makefile @@ -174,9 +174,8 @@ test/goecho/goecho: .gopathok $(wildcard test/goecho/*.go) bin/podman: .gopathok $(SOURCES) go.mod go.sum $(PODMAN_VARLINK_DEPENDENCIES) ## Build with podman # Make sure to warn in case we're building without the systemd buildtag. ifeq (,$(findstring systemd,$(BUILDTAGS))) -$(warning \ - Podman is being compiled without the systemd build tag.\ - Install libsystemd on Ubuntu or systemd-devel on rpm based distro for journald support) + @echo "Podman is being compiled without the systemd build tag. Install libsystemd on \ + Ubuntu or systemd-devel on rpm based distro for journald support." endif $(GO_BUILD) $(BUILDFLAGS) -gcflags '$(GCFLAGS)' -asmflags '$(ASMFLAGS)' -ldflags '$(LDFLAGS_PODMAN)' -tags "$(BUILDTAGS)" -o $@ $(PROJECT)/cmd/podman -- cgit v1.2.3-54-g00ecf