Applied Vasan Sundar's patch:
<<<<<<<<<<<<<<<<<<<<
This fixes  2 problems we noticed with setting CFLAGS in the makefiles.

1. export CFLAGS from the top-level makefile so that it is available for
the sub-makes. (We somehow missed this in our earlier patch in Jan. This
is useful for cross-compilation)
2. In the lower-level makefiles, append to CFLAGS ( +=) instead of
setting it.
>>>>>>>>>>>>>>>>>>>>
17 files changed