Also explicitly link libomp.so against -lm, as it transitively depends
on scalbn and a few other math functions, via libcompiler-rt. This should allow OpenMP programs to link with BFD linkers too. Reported by: jbeich PR: 236062, 236581 MFC after: 1 month X-MFC-With: r344779
This commit is contained in:
parent
ff92380399
commit
db7591a848
@ -67,5 +67,6 @@ LDFLAGS+= -Wl,-soname,libomp.so
|
||||
VERSION_MAP= ${OMPSRC}/exports_so.txt
|
||||
|
||||
LIBADD+= pthread
|
||||
LIBADD+= m
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user