cvs commit: ports/devel/avr-libc Makefile

Kris Kennaway kris at obsecurity.org
Mon May 19 05:31:30 PDT 2003


On Mon, May 19, 2003 at 03:24:39PM +0300, Ruslan Ermilov wrote:

> Yes, precisely so.  I'm not even sure if NO_CPU_CFLAGS is really
> necessary after my patch, but I can't check it easily.
> 
> I've looked in the CVS history, and we appear to set CFLAGS in
> MAKEENV only to make gmake(1) happy, to make it use optimized
> CFLAGS, which is good.
> 
> Perhaps then, bsd.port.mk could be fixed to not add CFLAGS and
> CXXFLAGS to environment, if specifically asked not to, like
> in this case.  Or perhaps this port should set CFLAGS to -O
> -pipe -mavr, if such thing ever exists.  ;)

The only ports that appear to be having problems here are the
cross-compiler ports (most - all? - of them share common code, since
they're based on gcc).  I think those ports should just be fixed to
not try and use the host CFLAGS when running the cross-compiler.  I
don't think there's any need for a more general solution.

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/cvs-all/attachments/20030519/aad295a7/attachment.bin


More information about the cvs-all mailing list