From a329e0a3afabadf185290f2f101f85bd89dd15f8 Mon Sep 17 00:00:00 2001 From: René van Dorst Date: Wed, 19 Sep 2018 22:20:35 +0200 Subject: chacha20-mips32r2: remove reorder directives MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: René van Dorst --- src/crypto/Kbuild.include | 1 + 1 file changed, 1 insertion(+) (limited to 'src/crypto/Kbuild.include') diff --git a/src/crypto/Kbuild.include b/src/crypto/Kbuild.include index 6f1f8d2..d665449 100644 --- a/src/crypto/Kbuild.include +++ b/src/crypto/Kbuild.include @@ -16,6 +16,7 @@ endif ifeq ($(CONFIG_MIPS)$(CONFIG_CPU_MIPS32_R2),yy) wireguard-y += crypto/zinc/chacha20/chacha20-mips.o CFLAGS_chacha20.o += -DCONFIG_ZINC_ARCH_MIPS +AFLAGS_chacha20-mips.o += -O2 endif wireguard-y += crypto/zinc/poly1305/poly1305.o -- cgit v1.2.3-59-g8ed1b