Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2010 09:35:36 +1100
From:      Peter Jeremy <peterjeremy@acm.org>
To:        ports@freebsd.org
Subject:   Re: bsd.gcc.mk PREFIX or LOCALBASE?
Message-ID:  <20100213223536.GD93045@server.vk2pj.dyndns.org>
In-Reply-To: <b025ceb71002122158v25c4986ap36d249b90fe6a11a@mail.gmail.com>
References:  <b025ceb71002122158v25c4986ap36d249b90fe6a11a@mail.gmail.com>

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

--d01dLTUuW90fS44H
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2010-Feb-12 21:58:38 -0800, Rob Farmer <rfarmer@predatorlabs.net> wrote:
>Hi,
>
>In bsd.gcc.mk there is:
>
>.   if ${_USE_GCC} !=3D 3.4
>CFLAGS+=3D		-Wl,-rpath=3D${PREFIX}/lib/${_GCC_BUILD_DEPENDS}
>LDFLAGS+=3D		-Wl,-rpath=3D${PREFIX}/lib/${_GCC_BUILD_DEPENDS}
>.   endif

Actually, these directives need to be embedded inside the ports
gcc's, not in bsd.gcc.mk.  The current situation means that
anything other than the base gcc is broken for anything except
building ports (and may still misbehave if gmake is used) unless
something like the above is explicitly added to the command line.

See ports/142226:
http://www.freebsd.org/cgi/query-pr.cgi?pr=3D142226


--=20
Peter Jeremy

--d01dLTUuW90fS44H
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkt3KTgACgkQ/opHv/APuIcbNwCgtodXtsjM+AQK5qRrjRZDraX9
SRoAn1PLGCor94EW3CQRsZ1I+5L+21GO
=0Jzb
-----END PGP SIGNATURE-----

--d01dLTUuW90fS44H--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100213223536.GD93045>