summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/cryptodev/files/0001-tests-Makefile-do-not-use-Werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/cryptodev/files/0001-tests-Makefile-do-not-use-Werror.patch')
-rw-r--r--meta/recipes-kernel/cryptodev/files/0001-tests-Makefile-do-not-use-Werror.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-kernel/cryptodev/files/0001-tests-Makefile-do-not-use-Werror.patch b/meta/recipes-kernel/cryptodev/files/0001-tests-Makefile-do-not-use-Werror.patch
new file mode 100644
index 0000000000..3285548a57
--- /dev/null
+++ b/meta/recipes-kernel/cryptodev/files/0001-tests-Makefile-do-not-use-Werror.patch
@@ -0,0 +1,25 @@
1From 47438e53e1156db0916c0f4683a24fe4d82152f2 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 10 Sep 2021 10:44:42 +0200
4Subject: [PATCH] tests/Makefile: do not use -Werror
5
6Otherwise, openssl 3 deprecation warnings become errors.
7Reported at https://github.com/cryptodev-linux/cryptodev-linux/issues/67
8
9Upstream-Status: Inappropriate [upstream needs to update the code]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11
12---
13 tests/Makefile | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/tests/Makefile b/tests/Makefile
17index 2fb7a9a..e94f80e 100644
18--- a/tests/Makefile
19+++ b/tests/Makefile
20@@ -1,4 +1,4 @@
21-CFLAGS += -I.. $(CRYPTODEV_CFLAGS) -Wall -Werror
22+CFLAGS += -I.. $(CRYPTODEV_CFLAGS) -Wall
23
24 comp_progs := cipher_comp hash_comp hmac_comp
25