aboutsummaryrefslogtreecommitdiff
path: root/lang/myrddin
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-03-27 17:45:30 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-03-27 17:45:30 +0000
commit099e97d4b12be38bb5f963a9b247484b15a0b574 (patch)
tree08c8276220b70666d1946ef4c17031ef60fcef6a /lang/myrddin
parent4af2c88df48288d93a77a0291f2b81c0ed933d76 (diff)
downloadports-099e97d4b12be38bb5f963a9b247484b15a0b574.tar.gz
ports-099e97d4b12be38bb5f963a9b247484b15a0b574.zip
lang/myrddin: Fix build when ld is ld.lld
ld: error: <internal>: section sh_addralign is not a power of 2 Myrddin's build system directly calls ld so LLD_UNSAFE can't work here. Workaround the issue by adding a binary alias to ld.bfd to fix the build for now. PR: 226986 Reported by: emaste
Notes
Notes: svn path=/head/; revision=465725
Diffstat (limited to 'lang/myrddin')
-rw-r--r--lang/myrddin/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/myrddin/Makefile b/lang/myrddin/Makefile
index e31b70b3d085..a9cf493148db 100644
--- a/lang/myrddin/Makefile
+++ b/lang/myrddin/Makefile
@@ -17,8 +17,12 @@ USES= gmake
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix "${PREFIX}"
-WRKSRC= ${WRKDIR}/mc
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
OPTIONS_DEFINE= DEBUG VIM
OPTIONS_DEFAULT= VIM