svn commit: r465760 - head/devel/libds
Ed Maste
emaste at FreeBSD.org
Tue Mar 27 21:24:51 UTC 2018
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 \
More information about the svn-ports-head
mailing list