Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2003 11:07:46 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        "David O'Brien" <obrien@FreeBSD.org>
Cc:        Marcel Moolenaar <marcel@xcllnt.net>
Subject:   Re: cvs commit: src/libexec/talkd announce.c extern.h print.c table.c talkd.c
Message-ID:  <20030404080746.GC95125@sunbay.com>
In-Reply-To: <20030403160017.GD17860@dragon.nuxi.com>
References:  <200304030513.h335DR60079544@repoman.freebsd.org> <20030402231638.A81523@FreeBSD.org> <20030403055049.GA67232@dhcp01.pn.xcllnt.net> <20030403180026.A29934@gamplex.bde.org> <20030403085350.GA37174@sunbay.com> <20030403093800.GA68012@dhcp01.pn.xcllnt.net> <20030403200459.H30311@gamplex.bde.org> <20030403160017.GD17860@dragon.nuxi.com>

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

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

On Thu, Apr 03, 2003 at 08:00:17AM -0800, David O'Brien wrote:
> On Thu, Apr 03, 2003 at 08:26:05PM +1000, Bruce Evans wrote:
> > There are some other minor ordering problems.  -Winitialized is not set
> > for "-O -O0 -O" in ${CFLAGS}, and there may be hackish makefiles that s=
et
> > CFLAGS after including <bsd.prog.mk>.
>=20
> There are a few.
>=20
There isn't any that adds -O* to CFLAGS after including <bsd.*.mk>.

> Also you can set gcc flags using the GCC_OPTIONS
> environmental variable.
>=20
You know, there are many ways to shoot yourself in a foot.
How's this, without any makefile?

$ cc -o a.o a.c
cc1: warning: -Wuninitialized is not supported without -O

Guess what was in GCC_OPTIONS.  In short, we don't support
GCC_OPTIONS.  It isn't even mentioned in gcc(1) or GNU info
files.


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--Md/poaVZ8hnGTzuv
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE+jT1SUkv4P6juNwoRAnPUAJ4mgp1SnEsywnZtXPGJ5wYjogFZzwCbBN33
O3m/TqYbWgXwphSSNZKllfA=
=2qQH
-----END PGP SIGNATURE-----

--Md/poaVZ8hnGTzuv--



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