aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.bat
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-10-28 12:59:58 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-10-28 12:59:58 +0100
commit9419e3cfd592948592adbf965b27c9728c7864a8 (patch)
tree4020659bf08ef5fd92de1671ac79c150d6b4aeb7 /build.bat
parentui: use unicode … (diff)
downloadwireguard-windows-9419e3cfd592948592adbf965b27c9728c7864a8.tar.xz
wireguard-windows-9419e3cfd592948592adbf965b27c9728c7864a8.zip
build: go 1.13 now passes correct os version to ld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'build.bat')
-rw-r--r--build.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.bat b/build.bat
index b28da268..5bee6c4e 100644
--- a/build.bat
+++ b/build.bat
@@ -36,7 +36,7 @@ if exist .deps\prepared goto :render
set GOROOT=%BUILDDIR%.deps\go
set CGO_ENABLED=1
set CGO_CFLAGS=-O3 -Wall -Wno-unused-function -Wno-switch -std=gnu11 -DWINVER=0x0601
- set CGO_LDFLAGS=-Wl,--major-os-version=6 -Wl,--minor-os-version=1 -Wl,--major-subsystem-version=6 -Wl,--minor-subsystem-version=1 -Wl,--dynamicbase -Wl,--nxcompat -Wl,--export-all-symbols
+ set CGO_LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -Wl,--export-all-symbols
call :build_plat x86 i686 386 || goto :error
set CGO_LDFLAGS=%CGO_LDFLAGS% -Wl,--high-entropy-va
call :build_plat amd64 x86_64 amd64 || goto :error