From owner-cvs-ports@FreeBSD.ORG Mon May 19 05:31:29 2003 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB53D37B401; Mon, 19 May 2003 05:31:29 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-67-115-75-172.dsl.lsan03.pacbell.net [67.115.75.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6EBB43FB1; Mon, 19 May 2003 05:31:28 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 97C4A66B9B; Mon, 19 May 2003 05:31:28 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 67E60524; Mon, 19 May 2003 05:31:28 -0700 (PDT) Date: Mon, 19 May 2003 05:31:28 -0700 From: Kris Kennaway To: Ruslan Ermilov Message-ID: <20030519123128.GA6343@rot13.obsecurity.org> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: <20030519122439.GA28176@sunbay.com> User-Agent: Mutt/1.4i cc: Kris Kennaway cc: Joerg Wunsch cc: cvs-ports@FreeBSD.org cc: Kris Kennaway cc: cvs-all@FreeBSD.org cc: ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/devel/avr-libc Makefile X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 12:31:30 -0000 --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--