From c6f9780b1b3974b888555d1bc90a9e88af550211 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 29 Aug 2021 15:36:52 +0900 Subject: [PATCH] Add accidentally deleted BPFCFLAGS --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index f0e63951..5116675f 100644 --- a/configure.ac +++ b/configure.ac @@ -556,6 +556,9 @@ if test "x${request_libbpf}" != "xno"; then [have_libbpf=no]) 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" + fi # Add the include path for Debian EXTRABPFCFLAGS="-I/usr/include/$host_cpu-$host_os" AC_SUBST([EXTRABPFCFLAGS])