bpf: Add -g flag by default

This commit is contained in:
Tatsuhiro Tsujikawa 2021-08-30 18:33:27 +09:00
parent 0baf725073
commit 0e52cf76eb
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ if test "x${request_libbpf}" != "xno"; then
if test "x${have_libbpf}" = "xyes"; then
AC_DEFINE([HAVE_LIBBPF], [1], [Define to 1 if you have `libbpf` library.])
if test "x${BPFCFLAGS}" = "x"; then
BPFCFLAGS="-Wall -O2"
BPFCFLAGS="-Wall -O2 -g"
fi
# Add the include path for Debian
EXTRABPFCFLAGS="-I/usr/include/$host_cpu-$host_os"