From 0e52cf76eba8008708e9e237fa58620fc1932a7b Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 30 Aug 2021 18:33:27 +0900 Subject: [PATCH] bpf: Add -g flag by default --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f15fb592..a5e106f4 100644 --- a/configure.ac +++ b/configure.ac @@ -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"