mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
multimedia/xvid: link with -znotext on i386
This port links some non-PIC code, which fails with lld as it defaults to disallowing relocations against read-only segments. For i386 we can just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's existing default. PR: 214864, 230208 Approved by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D17195
This commit is contained in:
parent
9eb2fe3228
commit
d43312d77a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480032
@ -19,6 +19,9 @@ GNU_CONFIGURE= yes
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
# PR230208 Allow relocations against read-only segments (override lld default)
|
||||
LDFLAGS_i386= -Wl,-z,notext
|
||||
|
||||
CONFIGURE_ENV+= ac_cv_prog_ac_yasm=no
|
||||
|
||||
PLIST_FILES= include/xvid.h \
|
||||
|
Loading…
Reference in New Issue
Block a user