Message ID | 151804207949.30000.276473816831858725.stgit@firesoul |
---|---|
State | Not Applicable, archived |
Delegated to: | David Miller |
Headers | show |
Series | Suricata cleanup makefile | expand |
diff --git a/ebpf/Makefile.am b/ebpf/Makefile.am index 66db35f80c7e..d0ee44ae668e 100644 --- a/ebpf/Makefile.am +++ b/ebpf/Makefile.am @@ -6,7 +6,7 @@ BPF_CFLAGS = -Iinclude all: lb.bpf filter.bpf bypass_filter.bpf xdp_filter.bpf vlan_filter.bpf %.bpf: %.c - ${CC} -Wall $(BPF_CFLAGS) -O2 -D__KERNEL__ -D__ASM_SYSREG_H -emit-llvm -c $< -o - | ${LLC} -march=bpf -filetype=obj -o $@ + ${CC} -Wall $(BPF_CFLAGS) -O2 -D__KERNEL__ -D__ASM_SYSREG_H -target bpf -emit-llvm -c $< -o - | ${LLC} -march=bpf -filetype=obj -o $@ CLEANFILES = *.bpf