tools/net/Makefile: Define PACKAGE to fix build problems
authorMarkos Chandras <markos.chandras@imgtec.com>
Tue, 11 Mar 2014 08:49:39 +0000 (08:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Mar 2014 04:07:55 +0000 (00:07 -0400)
commit406764622fb71e5f4efb39ff111ef87713815f6d
tree8ca38df905e8ee68f8d787136b80a6e6a6496859
parentfdfaf64e75397567257e1051931f9a3377360665
tools/net/Makefile: Define PACKAGE to fix build problems

Fixes the following build problem with binutils-2.24

gcc -Wall -O2   -c -o bpf_jit_disasm.o bpf_jit_disasm.c
In file included from bpf_jit_disasm.c:25:0:
/usr/include/bfd.h:35:2: error: #error config.h must be included
before this header
 #error config.h must be included before this header

This is similar to commit 3ce711a6abc27abce1554e1d671a8762b7187690
"perf tools: bfd.h/libbfd detection fails with recent binutils"

See: https://sourceware.org/bugzilla/show_bug.cgi?id=14243

CC: David S. Miller <davem@davemloft.net>
CC: Daniel Borkmann <dborkman@redhat.com>
CC: netdev@vger.kernel.org
Acked-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/net/Makefile