Skip to content

Commit 6861f89

Browse files
committed
Revert "Makefile: Set CGO_CFLAGS dynamically on Mac OS X"
This reverts commit 6cde768.
1 parent 4113825 commit 6861f89

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

Makefile

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,6 @@ image-ocp-deployer: image-ocp-cli
7272
$(call build-image,ocp-recycler,$(IMAGE_REGISTRY)/ocp/4.2:recycler,./images/recycler/Dockerfile.rhel,.)
7373
image-ocp-recycler: image-ocp-cli
7474

75-
# macOS system GSSAPI headers lack RFC 5587 types (gss_const_name_t).
76-
# Use Homebrew's heimdal headers when available.
77-
ifeq ($(shell uname),Darwin)
78-
ifneq (,$(shell command -v brew 2>/dev/null))
79-
HEIMDAL_PREFIX := $(shell brew --prefix heimdal 2>/dev/null)
80-
ifneq (,$(HEIMDAL_PREFIX))
81-
export CGO_CFLAGS := $(CGO_CFLAGS) -I$(HEIMDAL_PREFIX)/include
82-
endif
83-
endif
84-
endif
85-
8675
oc: GO_BUILD_PACKAGES :=./cmd/oc
8776
oc: build
8877
.PHONY: oc

0 commit comments

Comments
 (0)