diff options
author | 2020-11-07 19:05:45 +0100 | |
---|---|---|
committer | 2020-11-13 14:42:54 +0100 | |
commit | b4cd7e112639817cf7744e6df5f7d21e3cacb901 (patch) | |
tree | 0d0aa2246200f73b08575cb51f505ed7b9a61ca9 /Makefile | |
parent | installer: move wg.exe to C:\Program Files\WireGuard (diff) | |
download | wireguard-windows-b4cd7e112639817cf7744e6df5f7d21e3cacb901.tar.xz wireguard-windows-b4cd7e112639817cf7744e6df5f7d21e3cacb901.zip |
build: remove duplicated ld flags
These are finally in Go 1.15.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1,7 +1,6 @@ GOFLAGS := -ldflags="-H windowsgui -s -w" -v -tags walk_use_cgo -trimpath export CGO_ENABLED := 1 export CGO_CFLAGS := -O3 -Wall -Wno-unused-function -Wno-switch -std=gnu11 -DWINVER=0x0601 -export CGO_LDFLAGS := -Wl,--dynamicbase -Wl,--nxcompat -Wl,--export-all-symbols export GOOS := windows VERSION := $(shell sed -n 's/^\s*Number\s*=\s*"\([0-9.]\+\)"$$/\1/p' version/version.go) @@ -48,7 +47,6 @@ resources_arm.syso: $(RESOURCE_FILES) amd64/wireguard.exe: export CC := x86_64-w64-mingw32-gcc amd64/wireguard.exe: export GOARCH := amd64 -amd64/wireguard.exe: CGO_LDFLAGS += -Wl,--high-entropy-va amd64/wireguard.exe: resources_amd64.syso $(SOURCE_FILES) GOROOT="$(CURDIR)/.deps/goroot" go build $(GOFLAGS) -o $@ |