summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-01-30 07:50:15 +0100
committerValentin Rothberg <rothberg@redhat.com>2020-01-30 08:44:34 +0100
commit7b14c02d0d4b32e1976bbc51b9ec73112d8ce17e (patch)
treeae346fc419315eb433c13478f67123f2420a813f
parent79ceb31edf3dabef7dafddbbf66b522e45cc3467 (diff)
downloadpodman-7b14c02d0d4b32e1976bbc51b9ec73112d8ce17e.tar.gz
podman-7b14c02d0d4b32e1976bbc51b9ec73112d8ce17e.tar.bz2
podman-7b14c02d0d4b32e1976bbc51b9ec73112d8ce17e.zip
Makefile: systemd: echo instead of warn
Just echo the message instead of warning to not impact the exit code. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
-rw-r--r--Makefile5
1 files 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