From 9f216cdbbeecf6ceb614acbeef842de3594a6ae5 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 26 May 2019 16:16:22 +0200 Subject: build: set 6.1 PE flags --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8075b2c8..9bc56260 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-59-g8ed1b