|
@@ -38,7 +38,7 @@ bash_compdir ?= /usr/share/bash-completion/completions
|
|
CC = gcc
|
|
CC = gcc
|
|
|
|
|
|
CFLAGS += -O2
|
|
CFLAGS += -O2
|
|
-CFLAGS += -W -Wall -Wextra -Wno-unused-parameter -Wshadow
|
|
|
|
|
|
+CFLAGS += -W -Wall -Wextra -Wno-unused-parameter -Wshadow -Wno-missing-field-initializers
|
|
CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I$(srctree)/tools/include/uapi -I$(srctree)/tools/include -I$(srctree)/tools/lib/bpf -I$(srctree)/kernel/bpf/
|
|
CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I$(srctree)/tools/include/uapi -I$(srctree)/tools/include -I$(srctree)/tools/lib/bpf -I$(srctree)/kernel/bpf/
|
|
CFLAGS += -DBPFTOOL_VERSION='"$(BPFTOOL_VERSION)"'
|
|
CFLAGS += -DBPFTOOL_VERSION='"$(BPFTOOL_VERSION)"'
|
|
LIBS = -lelf -lbfd -lopcodes $(LIBBPF)
|
|
LIBS = -lelf -lbfd -lopcodes $(LIBBPF)
|