diff options
author | Ed Maste <emaste@FreeBSD.org> | 2018-03-28 05:42:08 +0800 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2018-03-28 05:42:08 +0800 |
commit | 080cea5cec54211cecd190c3d2f075ed745bfa77 (patch) | |
tree | f5784cc3c6731f9935930e5a71a1145d68b7ecc5 | |
parent | 16beca6eb432ab9ec121780441f5ac43cb1d8695 (diff) | |
download | freebsd-ports-080cea5cec54211cecd190c3d2f075ed745bfa77.tar.gz freebsd-ports-080cea5cec54211cecd190c3d2f075ed745bfa77.tar.zst freebsd-ports-080cea5cec54211cecd190c3d2f075ed745bfa77.zip |
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
Notes
Notes:
svn path=/head/; revision=465763
-rw-r--r-- | audio/oss/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/oss/Makefile b/audio/oss/Makefile index 2fc81691d0f2..8b9dd23fe8b0 100644 --- a/audio/oss/Makefile +++ b/audio/oss/Makefile @@ -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 |