Skip to content

Commit

Permalink
clang.mak: prefer flex over lex
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Oct 15, 2023
1 parent f2962db commit 425084b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fdpp/clang.mak
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ CCACHE ?= $(shell which ccache 2>/dev/null)
CC = $(CCACHE) clang++
CLANG_VER := $(shell $(CC) -v 2>&1 | head -n 1 | \
sed -E 's/.+ version ([^.]+)\.[^.]+\.[^ ]+.*/\1/')
FLEX = $(shell which flex 2>/dev/null)
ifneq ($(FLEX),)
LEX = $(FLEX)
endif

# Override builtin CXX.
# The assignment below is ignored if CXX was set via cmd line.
Expand Down

0 comments on commit 425084b

Please sign in to comment.