aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-09-13 14:27:26 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2019-09-13 14:27:26 -0400
commit25f795f7a596ee1bc13757bd62243dae7c260941 (patch)
treef9bc275f9989949965e131f28c2b5b6feeeba22a
parentcompat: don't rewrite siphash when it's from compat (diff)
downloadWireGuard-25f795f7a596ee1bc13757bd62243dae7c260941.tar.xz
WireGuard-25f795f7a596ee1bc13757bd62243dae7c260941.zip
Kbuild: squelch warnings for stack limit on broken kernel configs
1280 is considered the absolute minimum for 64bit archs.
-rw-r--r--src/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Kbuild b/src/Kbuild
index f84b4de..920797e 100644
--- a/src/Kbuild
+++ b/src/Kbuild
@@ -5,6 +5,7 @@
ccflags-y := -O3 -fvisibility=hidden
ccflags-$(CONFIG_WIREGUARD_DEBUG) += -DDEBUG -g
ccflags-y += -D'pr_fmt(fmt)=KBUILD_MODNAME ": " fmt'
+ccflags-y += -Wframe-larger-than=2048
wireguard-y := main.o noise.o device.o peer.o timers.o queueing.o send.o receive.o socket.o peerlookup.o allowedips.o ratelimiter.o cookie.o netlink.o