Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2019 19:56:00 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345282 - head/lib/libomp
Message-ID:  <201903181956.x2IJu0XG070319@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903181956.x2IJu0XG070319>