Skip to content

Commit

Permalink
build: Fix add macOS source work-around for Go bug. (#2138)
Browse files Browse the repository at this point in the history
Upstream bug golang/go#19734

Fixes #2137
  • Loading branch information
harshavardhana authored and vadmeste committed Apr 20, 2017
1 parent 9a88156 commit 9bdb7af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
@@ -1,4 +1,5 @@
LDFLAGS := $(shell go run buildscripts/gen-ldflags.go)
BUILD_LDFLAGS := '$(LDFLAGS) -s -w'

all: install

Expand Down Expand Up @@ -59,7 +60,7 @@ test: getdeps verifiers

gomake-all: build
@echo "Installing mc:"
@go build --ldflags "$(LDFLAGS)" -o $(GOPATH)/bin/mc
@go build --ldflags $(BUILD_LDFLAGS) -o $(GOPATH)/bin/mc
@mkdir -p $(HOME)/.mc

coverage: getdeps verifiers
Expand Down

0 comments on commit 9bdb7af

Please sign in to comment.