diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-12-10 22:58:16 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-12-11 00:25:22 +0100 |
commit | bbe2f94acf37c111f86f2583aa3e390b6c0fc279 (patch) | |
tree | a57695405ac817893a678296f325089bb1643ac1 /src/compat/Kbuild.include | |
parent | chacha20: avx512vl implementation (diff) | |
download | wireguard-monolithic-historical-bbe2f94acf37c111f86f2583aa3e390b6c0fc279.tar.xz wireguard-monolithic-historical-bbe2f94acf37c111f86f2583aa3e390b6c0fc279.zip |
chacha20poly1305: wire up avx512vl for skylake-x
Diffstat (limited to '')
-rw-r--r-- | src/compat/Kbuild.include | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include index b7930b6..ce319d6 100644 --- a/src/compat/Kbuild.include +++ b/src/compat/Kbuild.include @@ -24,6 +24,10 @@ ccflags-y += -I$(src)/compat/dst_cache/include wireguard-y += compat/dst_cache/dst_cache.o endif +ifeq ($(wildcard $(srctree)/arch/x86/include/asm/intel-family.h),) +ccflags-y += -I$(src)/compat/intel-family/include +endif + ifeq ($(wildcard $(srctree)/arch/x86/include/asm/fpu/api.h),) ccflags-y += -I$(src)/compat/fpu/include endif |