Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2003 05:31:28 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/devel/avr-libc Makefile
Message-ID:  <20030519123128.GA6343@rot13.obsecurity.org>
In-Reply-To: <20030519122439.GA28176@sunbay.com>
References:  <200305190828.h4J8S8l0069634@repoman.freebsd.org> <20030519094115.GC1035@sunbay.com> <20030519115435.C2937@uriah.heep.sax.de> <20030519104604.GB17366@sunbay.com> <20030519125334.D2937@uriah.heep.sax.de> <20030519114332.GG17366@sunbay.com> <20030519115339.GI17366@sunbay.com> <20030519121239.GA6087@rot13.obsecurity.org> <20030519122439.GA28176@sunbay.com>

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

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

On Mon, May 19, 2003 at 03:24:39PM +0300, Ruslan Ermilov wrote:

> Yes, precisely so.  I'm not even sure if NO_CPU_CFLAGS is really
> necessary after my patch, but I can't check it easily.
>=20
> I've looked in the CVS history, and we appear to set CFLAGS in
> MAKEENV only to make gmake(1) happy, to make it use optimized
> CFLAGS, which is good.
>=20
> Perhaps then, bsd.port.mk could be fixed to not add CFLAGS and
> CXXFLAGS to environment, if specifically asked not to, like
> in this case.  Or perhaps this port should set CFLAGS to -O
> -pipe -mavr, if such thing ever exists.  ;)

The only ports that appear to be having problems here are the
cross-compiler ports (most - all? - of them share common code, since
they're based on gcc).  I think those ports should just be fixed to
not try and use the host CFLAGS when running the cross-compiler.  I
don't think there's any need for a more general solution.

Kris

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

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

iD8DBQE+yM6gWry0BWjoQKURAgYXAJ99C7Uddna2FY6Ao1+KHk3/Zq3otwCfTRbV
/+lpbuO/vawBRsVsSm9m82Y=
=LWgy
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--



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