Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jun 2005 19:37:45 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        ports@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Problem with mingw port, obeys $(CPUTYPE) but shouldn't
Message-ID:  <20050630233745.GA78956@xor.obsecurity.org>
In-Reply-To: <20050630181641.A74954@cons.org>
References:  <20050630174246.A73270@cons.org> <20050630214943.GA45010@xor.obsecurity.org> <20050630181641.A74954@cons.org>

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

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

On Thu, Jun 30, 2005 at 06:16:41PM -0400, Martin Cracauer wrote:
> Kris Kennaway wrote on Thu, Jun 30, 2005 at 05:49:43PM -0400:=20
> > On Thu, Jun 30, 2005 at 05:42:46PM -0400, Martin Cracauer wrote:
> > > The mingw port seems to inherit CPU-specific settings from
> > > /etc/make.conf which it shouldn't.  It uses an older version of gcc
> > > which is bound not to understand the fancy tuning from the CPU type.
> >=20
> > There's a bsd.port.mk option (WITHOUT_CPU_CFLAGS or something) that
> > sanitizes the CFLAGS to prevent old compiler ports from breaking in
> > this way.
>=20
> Thank you Kris, that is doing the right thing.  The appended diff
> fixes the port.
>=20
> Anybody thinks of a reason not to commit that?

Seems good to me :-) It would be nice if someone could sweep the other
miscellaneous compiler ports for this too.

Kris

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCxIJJWry0BWjoQKURAvuTAKCQkiaivI0yiBwjVWn6TlD9l7gvywCgvyl8
Se1CywqgG0BecENk4UgMINE=
=mT6K
-----END PGP SIGNATURE-----

--nFreZHaLTZJo0R7j--



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