svn commit: r345282 - head/lib/libomp

Dimitry Andric dim at FreeBSD.org
Mon Mar 18 19:56:01 UTC 2019


Author: dim
Date: Mon Mar 18 19:56:00 2019
New Revision: 345282
URL: https://svnweb.freebsd.org/changeset/base/345282

Log:
  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

Modified:
  head/lib/libomp/Makefile

Modified: head/lib/libomp/Makefile
==============================================================================
--- head/lib/libomp/Makefile	Mon Mar 18 19:26:36 2019	(r345281)
+++ head/lib/libomp/Makefile	Mon Mar 18 19:56:00 2019	(r345282)
@@ -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


More information about the svn-src-all mailing list