lsof: stop overriding CFLAGS in build
authorAndy Gibbs <andyg1001@hotmail.co.uk>
Wed, 3 Nov 2010 14:09:24 +0000 (15:09 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 4 Nov 2010 16:15:18 +0000 (17:15 +0100)
commit44b170e104a6acc527fbcaee19ce63e8e51ea279
tree56f8c325c286dc01433d7588c02336c5cc7b56cf
parent382ade52a5275c1e84882afc46f2aa2e8259bc19
lsof: stop overriding CFLAGS in build

Closes #2767

lsof compile breaks if CFLAGS overridden in 'make' command line
which is the case since buildroot-2010.08.

lsof has a partial fix for this already in the form of the
'LSOF_CFLAGS_OVERRIDE=1' configure option; however this only
fixes the problem in the generation of the Makefile for liblsof.

This patch does two things: it extends the 'LSOF_CFLAGS_OVERRIDE=1'
configure option to also cover the main Makefile; it also patches
lsof.mk to make use of the LSOF_CFLAGS_OVERRIDE option.

Signed-off-by: Andy Gibbs <andyg1001@hotmail.co.uk>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/lsof/lsof-override-cflags.patch [new file with mode: 0644]
package/lsof/lsof.mk