diff options
author | emaste <emaste@FreeBSD.org> | 2018-03-29 23:02:05 +0800 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2018-03-29 23:02:05 +0800 |
commit | 9fc9786c76713b90bb81ed42caf6f8d368eea602 (patch) | |
tree | 4529b71ed63524fb22a9f0d01200a89e8f752a9f /lang/myrddin | |
parent | 6417348a7d820fe2d77751aafe80870cb1994c9d (diff) | |
download | freebsd-ports-gnome-9fc9786c76713b90bb81ed42caf6f8d368eea602.tar.gz freebsd-ports-gnome-9fc9786c76713b90bb81ed42caf6f8d368eea602.tar.zst freebsd-ports-gnome-9fc9786c76713b90bb81ed42caf6f8d368eea602.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
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 |