diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2021-01-07 11:43:33 +0800 |
|---|---|---|
| committer | Joe MacDonald <joe@deserted.net> | 2021-01-14 07:12:08 -0500 |
| commit | 8600333cf0e6b59fee70d2248192cb92ed93a8a8 (patch) | |
| tree | 2a5c2d0e8994ded1f9e1b915ca2619e51a4be37c /recipes-security/selinux/libselinux/libselinux-drop-Wno-unused-but-set-variable.patch | |
| parent | ce1240622d76186f2bc1ed0a493a8a7391e8bad2 (diff) | |
| download | meta-selinux-8600333cf0e6b59fee70d2248192cb92ed93a8a8.tar.gz | |
libselinux: upgrade to 3.1 (20200710)
Drop backported and obsolete patches:
0001-Fix-building-against-musl-and-uClibc-libc-libraries.patch
libselinux-drop-Wno-unused-but-set-variable.patch
Add patch to fix build on musl:
0001-libselinux-do-not-define-gettid-for-musl.patch
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'recipes-security/selinux/libselinux/libselinux-drop-Wno-unused-but-set-variable.patch')
| -rw-r--r-- | recipes-security/selinux/libselinux/libselinux-drop-Wno-unused-but-set-variable.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/recipes-security/selinux/libselinux/libselinux-drop-Wno-unused-but-set-variable.patch b/recipes-security/selinux/libselinux/libselinux-drop-Wno-unused-but-set-variable.patch deleted file mode 100644 index 688b4e3..0000000 --- a/recipes-security/selinux/libselinux/libselinux-drop-Wno-unused-but-set-variable.patch +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | From 865b8c40b331235ce2c9df1fcbbb3876c9b79338 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Randy MacLeod <Randy.MacLeod@windriver.com> | ||
| 3 | Date: Tue, 30 Apr 2013 17:28:34 -0400 | ||
| 4 | Subject: [PATCH] libselinux: drop flag: -Wno-unused-but-set-variable | ||
| 5 | |||
| 6 | Upstream status: Inappropriate [older compilers only] | ||
| 7 | |||
| 8 | Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> | ||
| 9 | |||
| 10 | --- | ||
| 11 | src/Makefile | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/src/Makefile b/src/Makefile | ||
| 15 | index 2408fae..a89c0f7 100644 | ||
| 16 | --- a/src/Makefile | ||
| 17 | +++ b/src/Makefile | ||
| 18 | @@ -96,7 +96,7 @@ PCRE_LDLIBS ?= -lpcre | ||
| 19 | |||
| 20 | override CFLAGS += -I../include -D_GNU_SOURCE $(DISABLE_FLAGS) $(PCRE_CFLAGS) | ||
| 21 | |||
| 22 | -SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter \ | ||
| 23 | +SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-unused-parameter \ | ||
| 24 | -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations | ||
| 25 | |||
| 26 | RANLIB ?= ranlib | ||
