Message ID | 20230814132025.45364-5-cgzones@googlemail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 9c668bfda60b |
Delegated to: | Petr Lautrbach |
Headers | show |
Series | libselinux: rework selabel_file(5) database | expand |
On Mon, Aug 14, 2023 at 9:41 AM Christian Göttsche <cgzones@googlemail.com> wrote: > > Drop overrides of warning flags which are not triggered by any code. > > Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Acked-by: James Carter <jwcart2@gmail.com> > --- > libselinux/src/Makefile | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile > index b1620113..20d79312 100644 > --- a/libselinux/src/Makefile > +++ b/libselinux/src/Makefile > @@ -83,11 +83,10 @@ CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissi > -Wdeprecated-declarations -Wdiv-by-zero -Wdouble-promotion -Wendif-labels -Wextra \ > -Wformat-extra-args -Wformat-zero-length -Wformat=2 -Wmultichar \ > -Woverflow -Wpointer-to-int-cast -Wpragmas \ > - -Wno-missing-field-initializers -Wno-sign-compare \ > - -Wno-format-nonliteral -Wframe-larger-than=$(MAX_STACK_SIZE) \ > + -Wframe-larger-than=$(MAX_STACK_SIZE) \ > -fstack-protector-all --param=ssp-buffer-size=4 -fexceptions \ > -fasynchronous-unwind-tables -fdiagnostics-show-option \ > - -Werror -Wno-aggregate-return -Wno-redundant-decls \ > + -Werror -Wno-aggregate-return \ > $(EXTRA_CFLAGS) > > LD_SONAME_FLAGS=-soname,$(LIBSO),--version-script=libselinux.map,-z,defs,-z,relro > -- > 2.40.1 >
On Mon, Oct 2, 2023 at 1:14 PM James Carter <jwcart2@gmail.com> wrote: > > On Mon, Aug 14, 2023 at 9:41 AM Christian Göttsche > <cgzones@googlemail.com> wrote: > > > > Drop overrides of warning flags which are not triggered by any code. > > > > Signed-off-by: Christian Göttsche <cgzones@googlemail.com> > > Acked-by: James Carter <jwcart2@gmail.com> > Merged. Thanks, Jim > > --- > > libselinux/src/Makefile | 5 ++--- > > 1 file changed, 2 insertions(+), 3 deletions(-) > > > > diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile > > index b1620113..20d79312 100644 > > --- a/libselinux/src/Makefile > > +++ b/libselinux/src/Makefile > > @@ -83,11 +83,10 @@ CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissi > > -Wdeprecated-declarations -Wdiv-by-zero -Wdouble-promotion -Wendif-labels -Wextra \ > > -Wformat-extra-args -Wformat-zero-length -Wformat=2 -Wmultichar \ > > -Woverflow -Wpointer-to-int-cast -Wpragmas \ > > - -Wno-missing-field-initializers -Wno-sign-compare \ > > - -Wno-format-nonliteral -Wframe-larger-than=$(MAX_STACK_SIZE) \ > > + -Wframe-larger-than=$(MAX_STACK_SIZE) \ > > -fstack-protector-all --param=ssp-buffer-size=4 -fexceptions \ > > -fasynchronous-unwind-tables -fdiagnostics-show-option \ > > - -Werror -Wno-aggregate-return -Wno-redundant-decls \ > > + -Werror -Wno-aggregate-return \ > > $(EXTRA_CFLAGS) > > > > LD_SONAME_FLAGS=-soname,$(LIBSO),--version-script=libselinux.map,-z,defs,-z,relro > > -- > > 2.40.1 > >
diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile index b1620113..20d79312 100644 --- a/libselinux/src/Makefile +++ b/libselinux/src/Makefile @@ -83,11 +83,10 @@ CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissi -Wdeprecated-declarations -Wdiv-by-zero -Wdouble-promotion -Wendif-labels -Wextra \ -Wformat-extra-args -Wformat-zero-length -Wformat=2 -Wmultichar \ -Woverflow -Wpointer-to-int-cast -Wpragmas \ - -Wno-missing-field-initializers -Wno-sign-compare \ - -Wno-format-nonliteral -Wframe-larger-than=$(MAX_STACK_SIZE) \ + -Wframe-larger-than=$(MAX_STACK_SIZE) \ -fstack-protector-all --param=ssp-buffer-size=4 -fexceptions \ -fasynchronous-unwind-tables -fdiagnostics-show-option \ - -Werror -Wno-aggregate-return -Wno-redundant-decls \ + -Werror -Wno-aggregate-return \ $(EXTRA_CFLAGS) LD_SONAME_FLAGS=-soname,$(LIBSO),--version-script=libselinux.map,-z,defs,-z,relro
Drop overrides of warning flags which are not triggered by any code. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> --- libselinux/src/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)