svn commit: r480189 - head/graphics/mesa-dri
Ed Maste
emaste at FreeBSD.org
Thu Sep 20 18:49:52 UTC 2018
Author: emaste (src committer)
Date: Thu Sep 20 18:49:51 2018
New Revision: 480189
URL: https://svnweb.freebsd.org/changeset/ports/480189
Log:
graphics/mesa-drivers: add -znotext to LDFLAGS on i386, for lld
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
Approved by: portmgr (lld blanket)
Sponsored by: The FreeBSD Foundation
Modified:
head/graphics/mesa-dri/Makefile
Modified: head/graphics/mesa-dri/Makefile
==============================================================================
--- head/graphics/mesa-dri/Makefile Thu Sep 20 18:33:21 2018 (r480188)
+++ head/graphics/mesa-dri/Makefile Thu Sep 20 18:49:51 2018 (r480189)
@@ -66,6 +66,7 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-src_gallium_drivers_
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR}
.endif
+LDFLAGS_i386= -Wl,-znotext
.if ${DRI_DRIVERS} || ${VULKAN_DRIVERS:MINTEL}
. if ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld
# --build-id isn't supported by old GNU ld.bfd in base
More information about the svn-ports-all
mailing list