Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 2014 12:41:14 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: HEAD clang failures due to unknown arguments
Message-ID:  <73F477CA-6AF4-4217-AC81-730A5DED11D5@FreeBSD.org>
In-Reply-To: <20140329044342.GG73879@hades.panopticon>
References:  <20140329044342.GG73879@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_EAC9E9D8-325E-43FC-9897-6DAD59FB475A
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On 29 Mar 2014, at 05:43, Dmitry Marakasov <amdmi3@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


--Apple-Mail=_EAC9E9D8-325E-43FC-9897-6DAD59FB475A
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlM2sVoACgkQsF6jCi4glqOxMQCgmYkaEcz1eAfq1+J71oZY+ovB
aSUAnRVceYMsKtN5EYB890P+y4yWizhc
=kdtE
-----END PGP SIGNATURE-----

--Apple-Mail=_EAC9E9D8-325E-43FC-9897-6DAD59FB475A--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73F477CA-6AF4-4217-AC81-730A5DED11D5>