From: Carl Worth Date: Fri, 24 Apr 2020 17:30:40 +0000 (-0700) Subject: Explicitly link against math library X-Git-Url: https://git.cworth.org/git?p=dvonn;a=commitdiff_plain;h=c043fda4bdb6e84b973fd8d31d32b1beaa552aea 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. --- 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) $^ > $@