diff options
author | David S. Miller <davem@davemloft.net> | 2017-05-11 21:00:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-11 21:00:50 +0200 |
commit | 0a5539f66133a02b24f9cc43da5b84b7e6f3f436 (patch) | |
tree | 99b5de954ed38e894ac8b754b246daaeab7964fc /tools/testing/selftests/bpf/Makefile | |
parent | Merge branch 'bpf-pkt-ptr-align' (diff) | |
download | linux-0a5539f66133a02b24f9cc43da5b84b7e6f3f436.tar.xz linux-0a5539f66133a02b24f9cc43da5b84b7e6f3f436.zip |
bpf: Provide a linux/types.h override for bpf selftests.
We do not want to use the architecture's type.h header when
building BPF programs which are always 64-bit.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/Makefile')
-rw-r--r-- | tools/testing/selftests/bpf/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index f92f27d8156f..f389b02d43a0 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -35,6 +35,7 @@ $(BPFOBJ): force CLANG ?= clang %.o: %.c - $(CLANG) -I. -I../../../include/uapi -I../../../../samples/bpf/ \ + $(CLANG) -I. -I./include/uapi -I../../../include/uapi \ + -I../../../../samples/bpf/ \ -Wno-compare-distinct-pointer-types \ -O2 -target bpf -c $< -o $@ |