Makefile: forcefully disable cgo
This commit is contained in:
parent
502b4bb339
commit
44386db5f0
2
Makefile
2
Makefile
@ -10,7 +10,7 @@ all: mycorrhiza
|
|||||||
|
|
||||||
mycorrhiza:
|
mycorrhiza:
|
||||||
$(GO) generate $(GOFLAGS)
|
$(GO) generate $(GOFLAGS)
|
||||||
$(GO) build $(GOFLAGS) -o mycorrhiza .
|
CGO_ENABLED=0 $(GO) build $(GOFLAGS) -o mycorrhiza .
|
||||||
|
|
||||||
install:
|
install:
|
||||||
mkdir -m755 -p $(DESTDIR)$(SBINDIR) $(DESTDIR)$(MANDIR)/man1
|
mkdir -m755 -p $(DESTDIR)$(SBINDIR) $(DESTDIR)$(MANDIR)/man1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user