Remove --as-needed from the linker flags for libomp.so, as these

actually prevent the transitive dependency on libm.

Reported by:	jbeich
PR:		236062, 236581
MFC after:	1 month
X-MFC-With:	r344779
This commit is contained in:
Dimitry Andric 2019-03-18 19:56:00 +00:00
parent 286258a9a0
commit 66110c6521

View File

@ -58,7 +58,6 @@ CXXFLAGS+= -fno-exceptions
CXXFLAGS+= -fno-rtti
LDFLAGS+= -Wl,--warn-shared-textrel
LDFLAGS+= -Wl,--as-needed
LDFLAGS+= -Wl,--gc-sections
LDFLAGS+= -Wl,-z,noexecstack
LDFLAGS+= -Wl,-fini=__kmp_internal_end_fini