summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-06-13 16:21:59 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-13 16:22:16 +0200
commit6b3b1c3b918fcb9bbf1d876ad6d58c38932a2469 (patch)
tree5dfe02a2e91a309a1249cc3db24e471938402a1b /Makefile
parent6a5d0e2bcd1fe64b48ac462ffff0a31154f1050f (diff)
version: bump snapshot
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index af2f542..e10fdc2 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,8 @@ 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