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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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