diff options
author | Ed Maste <emaste@FreeBSD.org> | 2018-03-29 15:02:05 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2018-03-29 15:02:05 +0000 |
commit | 73ca9e723034e1ab068959a8342312b81f182f33 (patch) | |
tree | 4529b71ed63524fb22a9f0d01200a89e8f752a9f /lang/myrddin | |
parent | 921597722013b1123b6775e8f314063132cca72a (diff) | |
download | ports-73ca9e723034e1ab068959a8342312b81f182f33.tar.gz ports-73ca9e723034e1ab068959a8342312b81f182f33.zip |
Use BINARY_ALIAS to make LLD_UNSAFE more widely applicable
Some ports do not honour $LD or -fuse-ld=bfd in $CFLAGS, but do invoke
ld via $PATH. Automatically set BINARY_ALIAS+=ld=${LD} when LLD_UNSAFE
is active to use ld.bfd for these ports.
Approved by: portmgr (antoine)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D14876
Notes
Notes:
svn path=/head/; revision=465900
Diffstat (limited to 'lang/myrddin')
-rw-r--r-- | lang/myrddin/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lang/myrddin/Makefile b/lang/myrddin/Makefile index a9cf493148db..479de59d3692 100644 --- a/lang/myrddin/Makefile +++ b/lang/myrddin/Makefile @@ -20,9 +20,8 @@ CONFIGURE_ARGS= --prefix "${PREFIX}" TEST_TARGET= check WRKSRC= ${WRKDIR}/mc -# Myrddin is LLD_UNSAFE: # ld: error: <internal>: section sh_addralign is not a power of 2 -BINARY_ALIAS= ld=ld.bfd +LLD_UNSAFE= yes OPTIONS_DEFINE= DEBUG VIM OPTIONS_DEFAULT= VIM |