1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

audio/oss: set LLD_UNSAFE to link using ld.bfd

This port fails when attempting to link with lld as the system linker.
It passes -fPIC to the linker, which is actually a compiler flag.
ld.bfd accepts the flag but it results in a bogus DT_AUXILIARY entry
in the ouptut:

Dynamic section at offset 0x5000 contains 15 entries:
  Tag                Type                  Name/Value
 0x000000007ffffffd AUXILIARY            Auxiliary library: [PIC]

PR:		221807
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2018-03-27 21:42:08 +00:00
parent 16beca6eb4
commit 080cea5cec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465763

View File

@ -23,6 +23,7 @@ USE_GNOME= gtk20
USE_RC_SUBR= oss
SUB_FILES= pkg-install pkg-deinstall
ONLY_FOR_ARCHS= amd64 i386
LLD_UNSAFE= yes
KMODDIR= ${PREFIX}/lib/oss/modules