From c7b758fd43358b7b24598f051b904ce637f8b70e Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 14 May 2019 18:03:25 +0200 Subject: build: allow unused functions, for cgo Signed-off-by: Jason A. Donenfeld --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d0cd21f7..cf2c66ce 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ GOFLAGS := -ldflags="-H windowsgui -s -w" -v export CGO_ENABLED := 1 -export CGO_CFLAGS := -O3 -Wall -Wno-switch -std=gnu11 -DWINVER=0x0601 +export CGO_CFLAGS := -O3 -Wall -Wno-unused-function -Wno-switch -std=gnu11 -DWINVER=0x0601 export GOOS := windows OLD_GOROOT := $(GOROOT) export GOROOT := $(CURDIR)/.deps/goroot -- cgit v1.2.3-59-g8ed1b