Merge pull request #3863 from martin-frbg/issue3862

Add -lm on any arm/arm64 BSD, not just FreeBSD
This commit is contained in:
Martin Kroeker 2022-12-15 17:21:34 +01:00 committed by GitHub
commit 52cdb0555b
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