Date: Tue, 18 Sep 2018 20:04:04 +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: r480075 - head/graphics/lua-gd Message-ID: <201809182004.w8IK44QJ034320@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste (src committer) Date: Tue Sep 18 20:04:04 2018 New Revision: 480075 URL: https://svnweb.freebsd.org/changeset/ports/480075 Log: graphics/lua-gd: enable PIC on arm64 and i386, for lld Shared objects should be built as PIC, and lld enforces this by default. Add aarch64 and i386 cases to the existing set of per-arch CFLAGS, and remove the BROKEN_aarch64. Approved by: portmgr (lld blanket) Sponsored by: The FreeBSD Foundation Modified: head/graphics/lua-gd/Makefile Modified: head/graphics/lua-gd/Makefile ============================================================================== --- head/graphics/lua-gd/Makefile Tue Sep 18 20:00:51 2018 (r480074) +++ head/graphics/lua-gd/Makefile Tue Sep 18 20:04:04 2018 (r480075) @@ -12,8 +12,6 @@ COMMENT= GD bindings for the Lua programming language LICENSE= MIT -BROKEN_aarch64= fails to link: can't create dynamic relocation R_AARCH64_ABS64 against local symbol in readonly segment - LIB_DEPENDS= libgd.so:graphics/gd OPTIONS_DEFINE= DOCS EXAMPLES @@ -25,7 +23,9 @@ GDFEATURES= `gdlib-config --features |sed -e "s/GD_/-D .include <bsd.port.options.mk> +CFLAGS_aarch64+=-fPIC CFLAGS_amd64+= -fPIC +CFLAGS_i386+= -fPIC do-build: ${CC} -o ${WRKSRC}/gd.so ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${GDFEATURES} ${WRKSRC}/luagd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809182004.w8IK44QJ034320>