mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-12-04 01:20:52 +00:00
Build libsepol with -O2
libsepol contains performance sensitive code; in particular, compiler optimizations save a few minutes off of the optimized policydb hash tables. Signed-off-by: John Brooks <john.brooks@jolla.com>
This commit is contained in:
parent
b1bbd3030b
commit
76ea9f8987
@ -20,7 +20,7 @@ LIBMAP=libsepol.map
|
||||
LIBSO=$(TARGET).$(LIBVERSION)
|
||||
OBJS= $(patsubst %.c,%.o,$(wildcard *.c))
|
||||
LOBJS= $(patsubst %.c,%.lo,$(wildcard *.c))
|
||||
CFLAGS ?= -Werror -Wall -W -Wundef -Wshadow -Wmissing-format-attribute
|
||||
CFLAGS ?= -Werror -Wall -W -Wundef -Wshadow -Wmissing-format-attribute -O2
|
||||
|
||||
override CFLAGS += -I. -I../include -D_GNU_SOURCE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user