Subject: Re: Question about _COMPILER_LD_FLAG
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 05/15/2004 13:21:31
--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Georg Schwarz <geos@epost.de> wrote:
> pkgsrc/mk/compiler/{gcc|mipspro}.mk say about _COMPILER_LD_FLAG: "...
> passes flags to the linker ...".
> Is _COMPILER_LD_FLAG tp be passed to the linker (as stated) or to the
> compiler (as the name implies)? With some linkers/compilers that could
> make a difference.=20

It is passed to both, at least in some instances.  However, buildlink3
takes care of the difference and strips it off for the linker
automatically.

-Jan

--=20
The Internet interprets censorship as damage and routes around it.
	-- John Gilmore

--/04w6evG8XlLl3ft
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFAplGbfFtkr68iakwRAoWNAJwP5SWwgiqhDeDsNcuC3dACson61QCdFbIT
56J7bkvT1SZ//+RrCsBBy7k=
=NV0M
-----END PGP SIGNATURE-----

--/04w6evG8XlLl3ft--