diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-26 16:16:22 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-26 16:16:22 +0200 |
commit | a983f6679ca8f15f6a61a9bd5b62ff5c97ac8816 (patch) | |
tree | b6f876b3fd391cd2ffc7bcfea4aa1a966a80ad20 /Makefile | |
parent | global: use filepath.Join uniformly (diff) | |
download | wireguard-windows-a983f6679ca8f15f6a61a9bd5b62ff5c97ac8816.tar.xz wireguard-windows-a983f6679ca8f15f6a61a9bd5b62ff5c97ac8816.zip |
build: set 6.1 PE flags
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,6 +1,7 @@ GOFLAGS := -ldflags="-H windowsgui -s -w" -v -tags walk_use_cgo export CGO_ENABLED := 1 export CGO_CFLAGS := -O3 -Wall -Wno-unused-function -Wno-switch -std=gnu11 -DWINVER=0x0601 +export CGO_LDFLAGS := -Wl,--major-os-version=6 -Wl,--minor-os-version=1 -Wl,--major-subsystem-version=6 -Wl,--minor-subsystem-version=1 export GOOS := windows OLD_GOROOT := $(GOROOT) export GOROOT := $(CURDIR)/.deps/goroot |