Joerg Wunsch wrote:
"Weddington, Eric" <eric.wedding...@atmel.com> wrote:
For version 1.47 of SRecord, look at the Makefile.in file in the top
level. Lines 54-57 state:
Both, CFLAGS and CXXFLAGS in autoconf-generated Makefiles should
include CPPFLAGS. This is done outside Makefile.am.
The point is that any non-standard -I options in general ought to go
into CPPFLAGS, and any non-standard -L options inot LDFLAGS. I'm
using that e.g. in situations where autoconf stuff has to look out for
libusb in non-standard places.
Sorry, I was wrong (again). Defining -I option in just CXXFLAGS does
work. You just get a warning with ./configure but the Makefile looks OK
and srecord builds. However, if you define -I in CPPFLAGS you get an
error-free ./configure and it builds OK too.
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list