bpf: Add -g flag by default
This commit is contained in:
parent
0baf725073
commit
0e52cf76eb
|
@ -557,7 +557,7 @@ if test "x${request_libbpf}" != "xno"; then
|
||||||
if test "x${have_libbpf}" = "xyes"; then
|
if test "x${have_libbpf}" = "xyes"; then
|
||||||
AC_DEFINE([HAVE_LIBBPF], [1], [Define to 1 if you have `libbpf` library.])
|
AC_DEFINE([HAVE_LIBBPF], [1], [Define to 1 if you have `libbpf` library.])
|
||||||
if test "x${BPFCFLAGS}" = "x"; then
|
if test "x${BPFCFLAGS}" = "x"; then
|
||||||
BPFCFLAGS="-Wall -O2"
|
BPFCFLAGS="-Wall -O2 -g"
|
||||||
fi
|
fi
|
||||||
# Add the include path for Debian
|
# Add the include path for Debian
|
||||||
EXTRABPFCFLAGS="-I/usr/include/$host_cpu-$host_os"
|
EXTRABPFCFLAGS="-I/usr/include/$host_cpu-$host_os"
|
||||||
|
|
Loading…
Reference in New Issue