diff --git a/Makefile b/Makefile index 093685c1..de7d494f 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,10 @@ GIT_COMMIT := $(shell git rev-parse HEAD 2> /dev/null) GIT_TAG := $(shell git tag --points-at HEAD 2> /dev/null | head -n 1) +# disable linking against native libc / libpthread by default; +# this can be overridden by passing CGO_ENABLED=1 to make +export CGO_ENABLED ?= 0 + capdef_file = ./irc/caps/defs.go all: install