From: Jason A. Donenfeld Date: Thu, 24 May 2018 14:41:42 +0000 (+0200) Subject: Do not build on Linux X-Git-Tag: 0.0.20180531~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=625d59da14729e9b20b10074b81828182a524634;p=thirdparty%2Fwireguard-go.git Do not build on Linux --- diff --git a/Makefile b/Makefile index 7b6515d..bd282fd 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,6 @@ BINDIR ?= $(PREFIX)/bin ifeq ($(shell go env GOOS),linux) ifeq ($(wildcard .git),) $(error Do not build this for Linux. Instead use the Linux kernel module. See wireguard.com/install/ for more info.) -else -$(shell printf 'package main\nconst UseTheKernelModuleInstead = 0xdeadbabe\n' > ireallywantobuildon_linux.go) endif endif