From 98a9acf7984a117ac4774605adcf2d4953cfe3c7 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Thu, 6 Jul 2023 10:50:16 -0700 Subject: [PATCH] Add -lm to 2015/hou/Makefile Not all systems implicitly link in libm so this is necessary for those systems. --- 2015/hou/Makefile | 2 +- thanks-for-fixes.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/2015/hou/Makefile b/2015/hou/Makefile index c0b18a6ad..86e7afbab 100644 --- a/2015/hou/Makefile +++ b/2015/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 b55851102..dae18536b 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -1305,6 +1305,11 @@ that there are others as well but we don't seem to have them and he didn't provide them on his page. We've not yet contacted him for a copy but we will in time. +## [2015/hou](2015/hou/prog.c) ([README.md](2015/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). + ## [2015/yang](2015/yang/prog.c) ([README.md](2015/yang/README.md]))