aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-24 16:41:42 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-24 16:41:42 +0200
commit625d59da14729e9b20b10074b81828182a524634 (patch)
tree93c60d1f5d81035e2aa7a481388722c25555a108 /Makefile
parentCatch EINTR (diff)
downloadwireguard-go-625d59da14729e9b20b10074b81828182a524634.tar.xz
wireguard-go-625d59da14729e9b20b10074b81828182a524634.zip
Do not build on Linux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 0 insertions, 2 deletions
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