]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
Do not build on Linux
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 24 May 2018 14:41:42 +0000 (16:41 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 24 May 2018 14:41:42 +0000 (16:41 +0200)
Makefile

index 7b6515d11723eecba7aca9c324f1a80c54796ecc..bd282fde15d9f96a747df9df6cd9fa86481f9060 100644 (file)
--- 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