Date: Tue, 27 Mar 2018 21:24:51 +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: r465760 - head/devel/libds Message-ID: <201803272124.w2RLOpNw084887@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste (src committer) Date: Tue Mar 27 21:24:51 2018 New Revision: 465760 URL: https://svnweb.freebsd.org/changeset/ports/465760 Log: devel/libds: use BINARY_ALIAS to ensure linker is ld.bfd lld has no built-in search paths (/lib, /usr/lib). Normally the linker is invoked from the compiler driver, and the search paths are added by the compiler. If lld is invoked directly library search paths must be specified explicitly, with -L/lib -L/usr/lib. This port does not honour LD or -fuse-ld in CFLAGS via LLD_UNSAFE, but BINARY_ALIAS can be used to ensure we use the BFD linker. PR: 226972 Approved by: portmgr (LLD_UNSAFE blanket) Sponsored by: The FreeBSD Foundation Modified: head/devel/libds/Makefile Modified: head/devel/libds/Makefile ============================================================================== --- head/devel/libds/Makefile Tue Mar 27 21:20:29 2018 (r465759) +++ head/devel/libds/Makefile Tue Mar 27 21:24:51 2018 (r465760) @@ -14,6 +14,8 @@ COMMENT= ANSI Generic Data Structures Library LICENSE= BSD4CLAUSE USE_LDCONFIG= yes +# LLD_UNSAFE - requires directly-invoked linker to provide library search paths +BINARY_ALIAS= ld=ld.bfd ALL_TARGET= gcc HTML= avltree.html heap.html parray.html set.html \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803272124.w2RLOpNw084887>