From 0202d1c4102860dd99f9aed72557c4cdf7ed983b Mon Sep 17 00:00:00 2001 From: Gibheer Date: Tue, 28 May 2019 13:40:36 +0200 Subject: disable CGO support because of build errors --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f06f270..023262c 100644 --- a/Makefile +++ b/Makefile @@ -24,8 +24,8 @@ clean: build: clean mkdir -p ${WRKDIR} - GOOS=${GOOS} go build -ldflags="${LDFLAGS}" -o ${WRKDIR}/moncheck ${PKGNAME}/cmd/moncheck - GOOS=${GOOS} go build -ldflags="${LDFLAGS}" -o ${WRKDIR}/monwork ${PKGNAME}/cmd/monwork + GOOS=${GOOS} CGO_ENABLED=false go build -ldflags="${LDFLAGS}" -o ${WRKDIR}/moncheck ${PKGNAME}/cmd/moncheck + GOOS=${GOOS} CGO_ENABLED=false go build -ldflags="${LDFLAGS}" -o ${WRKDIR}/monwork ${PKGNAME}/cmd/monwork install: build install -d -m 0755 ${DESTDIR}${bindir} -- cgit v1.2.3-70-g09d2