aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGibheer <gibheer+git@zero-knowledge.org>2019-05-28 13:40:36 +0200
committerGibheer <gibheer+git@zero-knowledge.org>2019-05-28 13:40:36 +0200
commit0202d1c4102860dd99f9aed72557c4cdf7ed983b (patch)
tree9b25f4960cf01511f3b925f0c7f0da5d9f082f8e /Makefile
parent142f9cf3582e111910723cacbdc4a66267a79c75 (diff)
disable CGO support because of build errors
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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}