diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-17 10:27:12 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-17 10:27:51 +0200 |
commit | a6dd28260094f148053239f96a29825c5628db61 (patch) | |
tree | 9a8ab6c1cb01d544cfdfdafcc151806dbbb3b9c7 /Makefile | |
parent | 7d5f5bcc0dedc8272c8c3cdbc345876f24c4ecfe (diff) |
makefile: do not show warning on non-linux
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ all: generate-version-and-build ifeq ($(shell go env GOOS)|$(wildcard .git),linux|) $(error Do not build this for Linux. Instead use the Linux kernel module. See wireguard.com/install/ for more info.) -else +else ifeq ($(shell go env GOOS),linux) ireallywantobuildon_linux.go: @printf "WARNING: This software is meant for use on non-Linux\nsystems. For Linux, please use the kernel module\ninstead. See wireguard.com/install/ for more info.\n\n" >&2 @printf 'package main\nconst UseTheKernelModuleInstead = 0xdeadbabe\n' > "$@" |