0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-29 13:11:54 +00:00

Conf: Switch for faster (and slightly bigger) lexer

This commit is contained in:
Maria Matejka 2019-02-22 12:41:51 +01:00
parent ad702bae0c
commit 412614c700

View File

@ -23,7 +23,7 @@ $(o)cf-parse.tab.c: $(o)cf-parse.y
$(BISON) $(BISON_DEBUG) $(BISONFLAGS) -dv -pcf_ -b $(@:.tab.c=) $<
$(o)cf-lex.c: $(s)cf-lex.l
$(FLEX) $(FLEX_DEBUG) -s -B -8 -Pcf_ -o$@ $<
$(FLEX) $(FLEX_DEBUG) -f -s -B -8 -Pcf_ -o$@ $<
$(o)cf-lex.o: $(o)cf-parse.tab.h $(o)keywords.h
$(o)cf-lex.o: CFLAGS+=-Wno-sign-compare -Wno-unused-function