aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/Kbuild.include
diff options
context:
space:
mode:
authorRené van Dorst <opensource@vdorst.com>2018-09-20 15:38:33 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-21 16:05:22 +0200
commitd4ac6bb50892b2d0da3b8dc99097fbbde3b4e705 (patch)
tree05316d05d878fbeee34118b8b23a5e1f9dfb1d76 /src/crypto/Kbuild.include
parentglobal: put SPDX identifier on its own line (diff)
downloadwireguard-monolithic-historical-d4ac6bb50892b2d0da3b8dc99097fbbde3b4e705.tar.xz
wireguard-monolithic-historical-d4ac6bb50892b2d0da3b8dc99097fbbde3b4e705.zip
poly1305-mips32r2: remove all reorder directives
This requires some minimal rearranging to make work, but for the most part as does the right thing, provided we pass it an optimization flag. Suggested-by: Paul Burton <paul.burton@mips.com> Signed-off-by: René van Dorst <opensource@vdorst.com>
Diffstat (limited to '')
-rw-r--r--src/crypto/Kbuild.include1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/Kbuild.include b/src/crypto/Kbuild.include
index 9ea7452..6f1f8d2 100644
--- a/src/crypto/Kbuild.include
+++ b/src/crypto/Kbuild.include
@@ -34,6 +34,7 @@ endif
ifeq ($(CONFIG_MIPS)$(CONFIG_CPU_MIPS32_R2),yy)
wireguard-y += crypto/zinc/poly1305/poly1305-mips.o
CFLAGS_poly1305.o += -DCONFIG_ZINC_ARCH_MIPS
+AFLAGS_poly1305-mips.o += -O2
endif
ifeq ($(CONFIG_MIPS)$(CONFIG_64BIT),yy)
wireguard-y += crypto/zinc/poly1305/poly1305-mips64.o