The flex skeleton often triggers compiler warnings; make these non-fatal for building. We already do likewise for checkpolicy. Signed-off-by: Stephen Smalley <sds@xxxxxxxxxxxxx> --- libsepol/src/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libsepol/src/Makefile b/libsepol/src/Makefile index 7856213..7272458 100644 --- a/libsepol/src/Makefile +++ b/libsepol/src/Makefile @@ -60,6 +60,12 @@ else endif ifneq ($(DISABLE_CIL),y) +$(CILDIR)/src/cil_lexer.o: $(CILDIR)/src/cil_lexer.c + $(CC) $(filter-out -Werror, $(CFLAGS)) -fPIC -c -o $@ $< + +$(CILDIR)/src/cil_lexer.lo: $(CILDIR)/src/cil_lexer.c + $(CC) $(filter-out -Werror, $(CFLAGS)) -fPIC -DSHARED -c -o $@ $< + $(CILDIR)/src/cil_lexer.c: $(CILDIR)/src/cil_lexer.l $(LEX) -t $< > $@ endif -- 2.7.4 _______________________________________________ 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.