[Buildroot] [Bug 2767] Build for lsof broken in buildroot-2010.08

bugzilla at busybox.net bugzilla at busybox.net
Thu Nov 4 16:06:30 UTC 2010


--- Comment #3 from Andy Gibbs <andyg1001 at hotmail.co.uk>  ---

I do get it downloading, but it I believe it picks it up from the
sources.buildroot.org mirror instead of the ftp site, so maybe best to change
to the debian distribution site.

Regarding the use of CFLAGS, inside the Makefile is defined:


which expands to


Now when make is invoked, buildroot's CFLAGS are passed via DEBUG:


However, if TARGET_CONFIGURE_OPTS also holds CFLAGS, then the CFLAGS declared
inside the Makefile is overridden and all the additional flags that are
required (e.g. from CFGF) are lost.

This is why I have patched it to put the "override" keyword ahead of the
Makefile's CFLAGS declaration.  Buildroot's CFLAGS are still sent forward, via
DEBUG, so that's not a problem.

Does this explain the situation better?


Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the buildroot mailing list