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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to