crda: fix build with GCC 6
commit34130233023233ab8c59df38af9c9771fa706902
authorJörg Krause <joerg.krause@embedded.rocks>
Sun, 1 May 2016 09:28:03 +0000 (1 11:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 1 May 2016 20:35:42 +0000 (1 22:35 +0200)
treec442603a7c4d7f23b2b2819039b884156c6768bc
parentd3d6a99abcce69455ce6bc147ef9bd0eb390844e
crda: fix build with GCC 6

Building crda with GCC 6 fails because of all compiler warnings are treated as
errors. Disable the compiler option '-Werror':

keys-gcrypt.c:94:32: error: ‘keys’ defined but not used [-Werror=unused-const-variable=]
 static const struct key_params keys[] = {
                                ^~~~
cc1: all warnings being treated as errors

Add a patch to drop '-Werror' from CFLAGS.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/crda/0003-drop-werror.patch [new file with mode: 0644]