Date: Thu, 18 Aug 2005 11:25:09 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Petr Holub <hopet@ics.muni.cz> Cc: ports@freebsd.org, sam@inf.enst.fr, Kris Kennaway <kris@obsecurity.org> Subject: Re: gnat-glade build error on 6.0-BETA2 Message-ID: <20050818152509.GA7515@xor.obsecurity.org> In-Reply-To: <200508181512.j7IFCMZ08279@dior.ics.muni.cz> References: <20050818134206.GB9585@xor.obsecurity.org> <200508181512.j7IFCMZ08279@dior.ics.muni.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
--82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 18, 2005 at 05:12:22PM +0200, Petr Holub wrote: > > > A few additional tests compiling software written in Ada show that > > > compilation works unless -fno-strict-aliasing is used. See also my > > > previous post on xmlada. > >=20 > > Yes, both ports need to be fixed to not use CFLAGS with their build, > > which may contain gcc options that are not accepted by adagcc >=20 > I wonder where the -fno-strict-aliasing comes from? I've found it in the > /usr/share/mk/sys.mk - is there any way how to disable inclusion of sys.m= k? >=20 > Of course, I can always do > CFLAGS=3D > in the Makefile for these ports (and I've verified it works) but this also > overrides all the options a user may wisch to set... It's bogus to use CFLAGS (C compiler flags) to control an ADA compiler. Users may legitimately specify any number of other C compiler flags in this variable which will be rejected by the ADA compiler. Use another variable instead (e.g. ADAFLAGS). Kris --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDBKhVWry0BWjoQKURAu2DAJwMrI+xE2K0L2/M+A1eok029BspEACgw9Lt piKtQgq1Kz5hy5UouEk0bKY= =2Imy -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050818152509.GA7515>