Add -lm on any arm/arm64 BSD, not just FreeBSD

This commit is contained in:
Martin Kroeker
2022-12-15 10:35:47 +01:00
committed by GitHub
parent b231fbcd67
commit 5a294b0c8a

View File

@@ -419,7 +419,7 @@ ifeq ($(OSNAME), AIX)
EXTRALIB += -lm
endif
ifeq ($(OSNAME), FreeBSD)
ifeq ($(OSNAME), $(filter $(OSNAME),FreeBSD OpenBSD NetBSD DragonFly)
ifeq ($(ARCH), $(filter $(ARCH),arm arm64))
EXTRALIB += -lm
endif