Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2017 01:58:39 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456771 - head/archivers/lua51-zlib
Message-ID:  <201712200158.vBK1wdnc046866@repo.freebsd.org>

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



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