summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/openssl/openssl-qoriq/qoriq/0047-cryptodev-treat-all-build-warnings-as-errors.patch
blob: 7cfad9cd7b507e1579f707725e37298cfc66dfae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From e50560cb9a201c0b0130bb29d4c99121a8ec97ba Mon Sep 17 00:00:00 2001
From: Cristian Stoica <cristian.stoica@nxp.com>
Date: Mon, 8 Feb 2016 15:15:02 +0200
Subject: [PATCH 47/48] cryptodev: treat all build warnings as errors

This patch has the purpose of maintaining a higher level of code quality.

Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
---
 crypto/engine/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/engine/Makefile b/crypto/engine/Makefile
index 426388e..010f21d 100644
--- a/crypto/engine/Makefile
+++ b/crypto/engine/Makefile
@@ -10,7 +10,7 @@ CFLAG=-g
 MAKEFILE=	Makefile
 AR=		ar r
 
-CFLAGS= $(INCLUDES) $(CFLAG)
+CFLAGS= -Wall -Werror $(INCLUDES) $(CFLAG)
 
 GENERAL=Makefile
 TEST= enginetest.c
-- 
2.7.3