gnat-glade build error on 6.0-BETA2
Kris Kennaway
kris at obsecurity.org
Thu Aug 18 15:25:11 GMT 2005
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.
> >
> > 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
>
> 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.mk?
>
> Of course, I can always do
> CFLAGS=
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050818/092bec70/attachment.bin
More information about the freebsd-ports
mailing list