archrelease: copy trunk to extra-x86_64
[arch-packages.git] / wpa_supplicant / repos / core-x86_64 / disable-eapol-werror.patch
blob3a2163aa468ae525df60ba1047dca1d99299383d
1 From: Andrej Shadura <andrew.shadura@collabora.co.uk>
2 Date: Fri, 12 Feb 2021 14:28:19 +0100
3 Subject: Disable -Werror for eapol_test
5 This may make sense for the upstream, but we just want to build
6 the tool to be useful to our users; dealing with build errors due
7 to issues normally manifesting themselves as warnings is burdening
8 for Debian and its downstreams.
9 ---
10 wpa_supplicant/Makefile | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
13 diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
14 index cb66def..26b0c93 100644
15 --- a/wpa_supplicant/Makefile
16 +++ b/wpa_supplicant/Makefile
17 @@ -170,7 +170,7 @@ CFLAGS += -DCONFIG_ELOOP_KQUEUE
18 endif
20 ifdef CONFIG_EAPOL_TEST
21 -CFLAGS += -Werror -DEAPOL_TEST
22 +CFLAGS += -DEAPOL_TEST
23 endif
25 ifdef CONFIG_CODE_COVERAGE