HEAD clang failures due to unknown arguments

Dimitry Andric dim at FreeBSD.org
Sat Mar 29 11:41:18 UTC 2014


On 29 Mar 2014, at 05:43, Dmitry Marakasov <amdmi3 at amdmi3.ru> wrote:
> Are we to fix new clang failures related to that clang now treats
> unknown arguments as fatal errors:
> 
> ---
> c++: error: unknown argument: '-R/usr/local/lib'
> ---

Yes, just replace -R/usr/local/lib with -Wl,-rpath,/usr/local/lib.  This
is very easy to do with sed.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140329/fe0c4086/attachment.sig>


More information about the freebsd-ports mailing list