[Bug 221808] archivers/lua51-zlib: port passes $LDFLAGS to direct linker invocation, not compiler driver
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Aug 29 17:34:43 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221808
--- Comment #3 from Ed Maste <emaste at freebsd.org> ---
Comment on attachment 185819
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185819
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 = -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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list