From 8e618941fcff7fa329076399c0561471e6d8661b Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Thu, 6 Jul 2023 10:42:57 -0700 Subject: [PATCH] Add -lm to 2018/hou/Makefile Not all systems implicitly link in libm so this is necessary for those systems. --- 2018/hou/Makefile | 2 +- thanks-for-fixes.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/2018/hou/Makefile b/2018/hou/Makefile index a0909d687..3e66d61fc 100644 --- a/2018/hou/Makefile +++ b/2018/hou/Makefile @@ -73,7 +73,7 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT} # Libraries needed to build # -LIBS= +LIBS= -lm # C compiler to use # diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index 3649d38c7..2f93ccc6d 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -1319,6 +1319,12 @@ He also added explicit linking of libm (`-lm`) for systems that do not do this Cody added explicit linking of libm (`-lm`) for systems that do not do this (linux doesn't seem to but macOS does). +## [2018/hou](2018/hou/prog.c) ([README.md](2018/hou/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]))