diff options
author | emaste <emaste@FreeBSD.org> | 2018-03-29 23:40:06 +0800 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2018-03-29 23:40:06 +0800 |
commit | 74dbe50eacbb948d7fb630d0a5bdb5561c47bf20 (patch) | |
tree | ec4ea95bb2485a1e7216754a752e66ddb9dea5c9 | |
parent | cc8443b991d44f57099b04eca6a149de5e4cd428 (diff) | |
download | freebsd-ports-gnome-74dbe50eacbb948d7fb630d0a5bdb5561c47bf20.tar.gz freebsd-ports-gnome-74dbe50eacbb948d7fb630d0a5bdb5561c47bf20.tar.zst freebsd-ports-gnome-74dbe50eacbb948d7fb630d0a5bdb5561c47bf20.zip |
lang/fpc: Set LLD_UNSAFE
fpc produces and needs to link an object file with invalid section
header alignment, which lld refuses to do. The build fails with:
/usr/bin/ld: error: x86_64/units/x86_64-freebsd/i_linux.o: \
invalid alignment of section headers
Setting LLD_UNSAFE makes the port link with ld.bfd instead.
PR: 222172
Approved by: portmgr (LLD_UNSAFE blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | lang/fpc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/fpc/Makefile b/lang/fpc/Makefile index 060c251226b2..039d2c92ebaa 100644 --- a/lang/fpc/Makefile +++ b/lang/fpc/Makefile @@ -23,6 +23,7 @@ COMMENT?= Free Pascal compiler with Turbo and Delphi USES= gmake iconv ONLY_FOR_ARCHS= i386 amd64 +LLD_UNSAFE= yes # Links object with invalid section header alignment BOOTVER= 3.0.4 MANVER= 3.0.4 |