On 01/07/2015 05:03 PM, John Brooks wrote: > libsepol contains performance sensitive code; in particular, compiler > optimizations save a few minutes off of the optimized policydb hash > tables. > --- > libsepol/src/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libsepol/src/Makefile b/libsepol/src/Makefile > index 6450d67..059f198 100644 > --- a/libsepol/src/Makefile > +++ b/libsepol/src/Makefile > @@ -22,7 +22,7 @@ OBJS= $(patsubst %.c,%.o,$(wildcard *.c)) > LOBJS= $(patsubst %.c,%.lo,$(wildcard *.c)) > CFLAGS ?= -Werror -Wall -W -Wundef -Wshadow -Wmissing-format-attribute > > -override CFLAGS += -I. -I../include -D_GNU_SOURCE > +override CFLAGS += -I. -I../include -D_GNU_SOURCE -O2 > > ifneq ($(DISABLE_CIL),y) > OBJS += $(sort $(patsubst %.c,%.o,$(wildcard $(CILDIR)/src/*.c) $(CIL_GENERATED))) > Not sure we want this to always be set even if the caller specified their own set of CFLAGS on the make command-line. _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.