Date: Wed, 8 Sep 2004 18:09:03 +0200 From: Michael Nottebrock <michaelnottebrock@gmx.net> To: freebsd-ports@freebsd.org Cc: John Polstra <jdp@polstra.com> Subject: Re: Best way to override user's CFLAGS in a port? Message-ID: <200409081809.04661.michaelnottebrock@gmx.net> In-Reply-To: <m3k6v4rjjp.fsf@merlin.emma.line.org> References: <XFMail.20040907114725.jdp@polstra.com> <m3k6v4rjjp.fsf@merlin.emma.line.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1365478.xU8ceerfbH Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 08 September 2004 15:12, Matthias Andree wrote: > John Polstra <jdp@polstra.com> writes: > > I'm afraid if I do that, I'll get even more bug reports. > > Likely, because it tells the user what NOT to do, > but does not tell him what to do, and he'll inquire about that. > > The BROKEN message should print that the user must use -O1 rather than > -O2 or -O3 for this particular port. > > Note that "-O." isn't a sufficient regexp, some users use -O99 which, > when it becomes -O19 or -O9 still hoses the build of the b0rked > application. > > How about: [...] If it's so well known that -O higher than 1 will not work, the upstream sou= rce=20 should be modified to that -O will be appended to any CFLAGS, thus overridi= ng=20 any user-specified optimization setting. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart1365478.xU8ceerfbH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBPy6gXhc68WspdLARAkiiAJ9KpQZXlQgsEn46ddjH7Xx3dtaK5gCdG91+ xze90DyTjjByQh5tq7CC3Qs= =5Axx -----END PGP SIGNATURE----- --nextPart1365478.xU8ceerfbH--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409081809.04661.michaelnottebrock>