Skip to content

Commit e1911b2

Browse files
authored
Merge pull request #3236 from martin-frbg/issue3234
Add -lm for FreeBSD on ARM/ARM64
2 parents 8f33da4 + 26ccf64 commit e1911b2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile.system

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,12 @@ ifeq ($(OSNAME), AIX)
380380
EXTRALIB += -lm
381381
endif
382382

383+
ifeq ($(OSNAME), FreeBSD)
384+
ifeq ($(ARCH), $(filter ($ARCH),arm arm64))
385+
EXTRALIB += -lm
386+
endif
387+
endif
388+
383389
ifeq ($(OSNAME), WINNT)
384390
NEED_PIC = 0
385391
NO_EXPRECISION = 1

0 commit comments

Comments
 (0)