Skip to content

Commit

Permalink
Merge pull request #529 from stmcginnis/macos
Browse files Browse the repository at this point in the history
Allow building on macOS
  • Loading branch information
k8s-ci-robot authored Feb 9, 2021
2 parents f3968f1 + 487915e commit fc4f167
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ IMAGE:=$(REGISTRY)/node-problem-detector:$(TAG)
# support needs libsystemd-dev or libsystemd-journal-dev.
ENABLE_JOURNALD?=1

ifeq ($(go env GOHOSTOS), darwin)
ENABLE_JOURNALD=0
else ifeq ($(go env GOHOSTOS), windows)
ENABLE_JOURNALD=0
endif

# TODO(random-liu): Support different architectures.
# The debian-base:v1.0.0 image built from kubernetes repository is based on
# Debian Stretch. It includes systemd 232 with support for both +XZ and +LZ4
Expand Down

0 comments on commit fc4f167

Please sign in to comment.