diff --git a/src/Makefile b/src/Makefile index 1f0f5c5..69c8c40 100644 --- a/src/Makefile +++ b/src/Makefile @@ -14,3 +14,7 @@ OBJS += vectors.o .PHONY: build_info.c build_info.o: CFLAGS += -DFW_VER="\"$(FW_VER)\"" + +# Avoid infinite loops due to GCC noticing code that can be replaced by a call +# to a standard library function... within our implementation of that function. +util.o: CFLAGS += -fno-tree-loop-distribute-patterns