--- a/src/Makefile.in +++ b/src/Makefile.in @@ -35,10 +35,7 @@ UNDER_GIT = $(wildcard ${srcdir}/../.git/logs/HEAD) -# Use bear if installed, and new enough to support the '--output FILE --' syntax -BEAR := $(shell bear=$$(which bear 2>/dev/null) && tmp=$$(mktemp -d 2>/dev/null) \ - && { "$$bear" --output "$$tmp/probe.json" -- true >/dev/null 2>&1 && echo "$$bear"; rm -rf "$$tmp"; }) -BEAR_OBJ_OPT := $(if $(BEAR),$(BEAR) --append --output obj_dbg/compile_commands.json --) +BEAR_OBJ_OPT := #*********************************************************************