svn commit: r456771 - head/archivers/lua51-zlib

Ed Maste emaste at FreeBSD.org
Wed Dec 20 01:58:40 UTC 2017


Author: emaste (src committer)
Date: Wed Dec 20 01:58:39 2017
New Revision: 456771
URL: https://svnweb.freebsd.org/changeset/ports/456771

Log:
  archivers/lua51-zlib: set LLD_UNSAFE
  
  The port invokes the linker directly (not via the compiler driver).
  lld does not include any default search paths (unlike the GNU BFD linker
  so cannot find libraries specified as e.g. -lm or -lz.
  
  This can be addressed by invoking the linker via the compiler driver,
  or by specifying the search path explicitly with -L. For now just avoid
  using lld to link the port.
  
  PR:		214864, 221808
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/archivers/lua51-zlib/Makefile

Modified: head/archivers/lua51-zlib/Makefile
==============================================================================
--- head/archivers/lua51-zlib/Makefile	Wed Dec 20 00:31:45 2017	(r456770)
+++ head/archivers/lua51-zlib/Makefile	Wed Dec 20 01:58:39 2017	(r456771)
@@ -23,6 +23,7 @@ MAKE_ENV+=	LUAPATH="${LOCALBASE}"
 MAKE_ENV+=	LUACPATH="${STAGEDIR}${LUA_MODLIBDIR}"
 MAKE_ENV+=	INCDIR="-I${LUA_INCDIR}"
 MAKE_ENV+=	LUALIBDIR="-L${LUA_MODLIBDIR}"
+LLD_UNSAFE=	yes
 
 PLIST_FILES=	${LUA_MODLIBDIR}/zlib.so
 


More information about the svn-ports-head mailing list