Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-distro / recipes-security / gssproxy / files / Turn-on-Wextra.patch
1 From a50ea0aa3dfd39ab4a3c39dde35c12fc51fe40d5 Mon Sep 17 00:00:00 2001
2 From: Robbie Harwood <rharwood@redhat.com>
3 Date: Wed, 15 Mar 2017 13:28:26 -0400
4 Subject: [PATCH] Turn on -Wextra
5
6 Signed-off-by: Robbie Harwood <rharwood@redhat.com>
7 Reviewed-by: Simo Sorce <simo@redhat.com>
8 Merges: #173
9 (cherry picked from commit 85bc3d794efa52aba4c32f6109e7e7741521ec5f)
10 ---
11  proxy/Makefile.am | 2 +-
12  1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/proxy/Makefile.am b/proxy/Makefile.am
15 index e1fbac1..5cd2255 100644
16 --- a/proxy/Makefile.am
17 +++ b/proxy/Makefile.am
18 @@ -44,7 +44,7 @@ AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
19      -Wcast-qual -Wcast-align -Wwrite-strings \
20      -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing \
21      -Werror-implicit-function-declaration \
22 -    -Werror=format-security
23 +    -Werror=format-security -Wextra
24  if BUILD_HARDENING
25      AM_CPPFLAGS += -D_FORTIFY_SOURCE=2 -Wdate-time
26      AM_CFLAGS += -fPIE -fstack-protector-strong