From 4e478eac82c3c8516e1d5766a66f16af38cfd1a6 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 9 Apr 2017 06:25:04 +0200 Subject: compat: support 3.12 --- src/compat/Kbuild.include | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/compat/Kbuild.include') diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include index ebd5aaf..aaaffcb 100644 --- a/src/compat/Kbuild.include +++ b/src/compat/Kbuild.include @@ -15,7 +15,11 @@ wireguard-y += compat/dst_cache/dst_cache.o endif ifeq ($(wildcard $(srctree)/arch/x86/include/asm/fpu/api.h),) -ccflags-y += -I$(src)/compat/i387/include +ccflags-y += -I$(src)/compat/fpu/include +endif + +ifeq ($(wildcard $(srctree)/arch/x86/include/asm/simd.h),) +ccflags-y += -I$(src)/compat/simd/include endif ifeq ($(wildcard $(srctree)/include/net/udp_tunnel.h),) -- cgit v1.2.3-59-g8ed1b