aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b262f9bb..0ddcd353 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-export CFLAGS := -O3 -Wall -std=gnu11
GOFLAGS := -ldflags="-H windowsgui -s -w" -v
export CGO_ENABLED := 1
+export CGO_CFLAGS := -O3 -Wall -Wno-switch -std=gnu11 -DWINVER=0x0601
export GOOS := windows
OLD_GOROOT := $(GOROOT)
export GOROOT := $(PWD)/.deps/goroot