From c043fda4bdb6e84b973fd8d31d32b1beaa552aea Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 24 Apr 2020 10:30:40 -0700 Subject: [PATCH] Explicitly link against math library I don't know what in the toolchain (or dependencies) changed such that this is required now when it wasn't before, but here it is. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a7d2dc1..ab8e9a0 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ all: $(ALL) $(CC) $(CFLAGS) $(MYCFLAGS) -c -o $@ -c $< dvonn: dvonn.o dvonn-board.o - $(CC) $(LDLAGS) $(MYLDFLAGS) -o $@ $^ + $(CC) $(LDLAGS) $(MYLDFLAGS) -o $@ $^ -lm Makefile.dep: *.c $(CC) -M $(CPPFLAGS) $(MYCFLAGS) $^ > $@ -- 2.43.0