Subject: Re: c99
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 12/05/2006 09:56:09
--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Roland Illig <rillig@NetBSD.org> wrote:
=20
> I would add this to _WRAP_EXTRA_ARGS.CC instead of CFLAGS, since that is=
=20
> guaranteed to survive even packages that ignore the user's choice for=20
> CFLAGS.

We should see if we can have the wrapper display _WRAP_EXTRA_ARGS.CC
when running.  I find it somewhat comfusing if the command-line executed
shows 'gcc -whatever', but it actually runs 'gcc -std=3Dc99 -whatever'.

This makes debugging compile-time errors a lot more difficult (see PR
35190 for an example).

-Jan

--=20
   It's psychosomatic. You need a lobotomy. I'll get a saw.
		  -- Calvin

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

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

iD8DBQFFdbK5fFtkr68iakwRAuPOAJ9JFIaVeN6K9DoBTOVoFrdJb/67CgCgtSaX
sQRbLB22dOhP+eyq8HvRrp8=
=hCmY
-----END PGP SIGNATURE-----

--ZGiS0Q5IWpPtfppv--