Date: Tue, 18 Sep 2018 16:04:20 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480032 - head/multimedia/xvid Message-ID: <201809181604.w8IG4KOv007499@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste (src committer) Date: Tue Sep 18 16:04:19 2018 New Revision: 480032 URL: https://svnweb.freebsd.org/changeset/ports/480032 Log: 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 Modified: head/multimedia/xvid/Makefile Modified: head/multimedia/xvid/Makefile ============================================================================== --- head/multimedia/xvid/Makefile Tue Sep 18 15:10:04 2018 (r480031) +++ head/multimedia/xvid/Makefile Tue Sep 18 16:04:19 2018 (r480032) @@ -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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809181604.w8IG4KOv007499>