From owner-freebsd-ports Mon Apr 30 16:31:21 2001 Delivered-To: freebsd-ports@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-27.dsl.lsan03.pacbell.net [63.207.60.27]) by hub.freebsd.org (Postfix) with ESMTP id DD8B437B423; Mon, 30 Apr 2001 16:31:18 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1CBFE66E69; Mon, 30 Apr 2001 16:31:18 -0700 (PDT) Date: Mon, 30 Apr 2001 16:31:17 -0700 From: Kris Kennaway To: David O'Brien Cc: Kris Kennaway , Akinori MUSHA , ports@FreeBSD.org Subject: Re: Ports which build with -O[2-9] Message-ID: <20010430163117.A92945@xor.obsecurity.org> References: <200104300810.f3U8AGY60114@freefall.freebsd.org> <86elua4wf1.wl@archon.local.idaemons.org> <20010430023347.A70094@xor.obsecurity.org> <86bspe4qhs.wl@archon.local.idaemons.org> <868zki4q2m.wl@archon.local.idaemons.org> <20010430043203.B87114@xor.obsecurity.org> <20010430153224.A38367@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010430153224.A38367@dragon.nuxi.com>; from obrien@FreeBSD.org on Mon, Apr 30, 2001 at 03:32:24PM -0700 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 30, 2001 at 03:32:24PM -0700, David O'Brien wrote: > On Mon, Apr 30, 2001 at 04:32:03AM -0700, Kris Kennaway wrote: > > Yep; I fetched all of the bento logs for the most recent RELENG_4 run, > > and grepped for -O[2-9]. I just came across the -f ones in the course > > of fixing the -O ports. > ..snip.. > > arm-elf-gcc-2.95.3.log >=20 > The right way to "fix" these that use GNU configure is to export the > CFLAGS you wish to use when you run configure. I see we do that, so I'm > not sure why -O2 is used. Several of the ports I fixed had an explicit section in configure which overrode the user-passed CFLAGS. They'd go to the trouble of testing the user value, then throw it away :-) That might be what's happening here, or it could just be a spurious mention of the string "-O2" which isn't actually used in a compiler invocation. Kris --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE67fXFWry0BWjoQKURAvLuAJsGE/vx4T/tlHJcPd3P2FNYktWLEgCfY4FD BwehlKyJBwhjXCZYA9MXYHg= =PCvu -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message