diff --git a/2018/bellard/Makefile b/2018/bellard/Makefile index 130523bc5..3883c6d99 100644 --- a/2018/bellard/Makefile +++ b/2018/bellard/Makefile @@ -75,7 +75,7 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT} # Libraries needed to build # -LIBS= -lcurses +LIBS= -lcurses -lm # C compiler to use # diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index 281ef0d93..3649d38c7 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -1314,6 +1314,11 @@ files from compiling properly, trying instead to compile already compiled code. He also added explicit linking of libm (`-lm`) for systems that do not do this (linux seems to not but macOS does). +## [2018/bellard](2018/bellard/prog.c) ([README.md](2018/bellard/README.md)) + +Cody added explicit linking of libm (`-lm`) for systems that do not do this +(linux doesn't seem to but macOS does). + ## [2019/ciura](2019/ciura/prog.c) ([README.md](2019/ciura/README.md]))