summaryrefslogtreecommitdiffstats
path: root/recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch')
-rw-r--r--recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch b/recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch
deleted file mode 100644
index c9b052c..0000000
--- a/recipes-security/selinux/libsemanage/libsemanage-drop-Wno-unused-but-set-variable.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 90a2459d1683e53f4a896b977e6b396db562c903 Mon Sep 17 00:00:00 2001
2From: Randy MacLeod <Randy.MacLeod@windriver.com>
3Date: Tue, 30 Apr 2013 23:15:57 -0400
4Subject: [PATCH] libselinux: drop flag: -Wno-unused-but-set-variable
5
6Upstream-Status: Inappropriate [older compilers only]
7
8Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
9---
10 src/Makefile | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/src/Makefile b/src/Makefile
14index e029f09..8240c3a 100644
15--- a/src/Makefile
16+++ b/src/Makefile
17@@ -55,7 +55,7 @@ OBJS= $(patsubst %.c,%.o,$(SRCS)) conf-scan.o conf-parse.o
18 LOBJS= $(patsubst %.c,%.lo,$(SRCS)) conf-scan.lo conf-parse.lo
19 CFLAGS ?= -Werror -Wall -W -Wundef -Wshadow -Wmissing-noreturn -Wmissing-format-attribute
20
21-SWIG_CFLAGS += -Wno-error -Wno-unused-but-set-variable -Wno-unused-variable -Wno-shadow \
22+SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-shadow \
23 -Wno-unused-parameter
24
25 override CFLAGS += -I../include -D_GNU_SOURCE
26--
272.7.4
28