Add accidentally deleted BPFCFLAGS

This commit is contained in:
Tatsuhiro Tsujikawa 2021-08-29 15:36:52 +09:00
parent ef694923f7
commit c6f9780b1b
1 changed files with 3 additions and 0 deletions

View File

@ -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])