[Bug 214864] [exp-run] test build with lld as /usr/bin/ld

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 2 18:17:36 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864

--- Comment #175 from Ed Maste <emaste at freebsd.org> ---
(In reply to Michael Osipov from comment #174)
> Ed, shall I patch the Makefile with sed for 32 bit or do you see a better way
> to fix this? CFLAGS?

CFLAGS+=-fPIC is generally the preferred (least invasive, most straightforward,
etc.) approach, but relies on the build infrastructure honouring CFLAGS. I
would not be surprised to find that a java-related port doesn't use CFLAGS, in
that case using sed inject -fPIC sounds reasonable.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list