diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-13 18:18:47 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-13 18:18:58 +0200 |
commit | ac7c23c163b711b2d3a00abbe612cf68abc5d456 (patch) | |
tree | 3d26436ef0d371ccf2ff32e13705d42acfbe017e /Makefile | |
parent | version: bump (diff) | |
download | wireguard-windows-ac7c23c163b711b2d3a00abbe612cf68abc5d456.tar.xz wireguard-windows-ac7c23c163b711b2d3a00abbe612cf68abc5d456.zip |
build: actually set cflags
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |