-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch looks good to me. acked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/I+0MACgkQrlYvE4MpobNovwCdFo/Z/7N1/FCJXbaD3Tsa1Zil mtcAn1APGekiRen5MRRyRdTTAZdhKfYf =t04a -----END PGP SIGNATURE-----
>From 41b70264d2e5e33134d9d3296808924f0e6ab1bb Mon Sep 17 00:00:00 2001 From: Dan Walsh <dwalsh@xxxxxxxxxx> Date: Fri, 25 May 2012 07:11:51 -0400 Subject: [PATCH 72/90] Fortify source now requires all code to be compiled with -O flag --- libselinux/src/Makefile | 2 +- libselinux/utils/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile index 92549f8..a0840ae 100644 --- a/libselinux/src/Makefile +++ b/libselinux/src/Makefile @@ -55,7 +55,7 @@ MAX_STACK_SIZE=32768 OBJS= $(patsubst %.c,%.o,$(SRCS)) LOBJS= $(patsubst %.c,%.lo,$(SRCS)) -CFLAGS ?= -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissing-include-dirs \ +CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissing-include-dirs \ -Wunused -Wunknown-pragmas -Wstrict-aliasing -Wshadow -Wpointer-arith \ -Wbad-function-cast -Wcast-align -Wwrite-strings -Wlogical-op -Waggregate-return \ -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes \ diff --git a/libselinux/utils/Makefile b/libselinux/utils/Makefile index d76ccfa..5f3e047 100644 --- a/libselinux/utils/Makefile +++ b/libselinux/utils/Makefile @@ -5,7 +5,7 @@ USRBINDIR ?= $(PREFIX)/sbin SBINDIR ?= $(DESTDIR)/sbin MAX_STACK_SIZE=8192 -CFLAGS ?= -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissing-include-dirs \ +CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissing-include-dirs \ -Wunused -Wunknown-pragmas -Wstrict-aliasing -Wshadow -Wpointer-arith \ -Wbad-function-cast -Wcast-align -Wwrite-strings -Wlogical-op -Waggregate-return \ -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes \ -- 1.7.10.2