Date: Thu, 20 Sep 2018 18:49:52 +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: r480189 - head/graphics/mesa-dri Message-ID: <201809201849.w8KInqPN074012@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809201849.w8KInqPN074012>