Date: Tue, 29 Aug 2017 17:34:43 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221808] archivers/lua51-zlib: port passes $LDFLAGS to direct linker invocation, not compiler driver Message-ID: <bug-221808-13-f4VB6tL6Ke@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-221808-13@https.bugs.freebsd.org/bugzilla/> References: <bug-221808-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221808 --- Comment #3 from Ed Maste <emaste@freebsd.org> --- Comment on attachment 185819 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185819 patch LD flags The patch LGTM (although -fPIC should also be removed from LNX_LDFLAGS upstream). If I change the BSD_LDFLAGS to BSD_LDFLAGS =3D -O2 -shared $(LUALIBDIR) -L/usr/lib the port builds for me with lld as the linker, although we might want to consider this further still (as 15 or so ports share the same issue). I think your current patch is suitable for committing and posting upstream though. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221808-13-f4VB6tL6Ke>