samples/bpf: Provide C/LDFLAGS to libbpf
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Fri, 11 Oct 2019 00:28:06 +0000 (03:28 +0300)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 12 Oct 2019 23:08:59 +0000 (16:08 -0700)
commitd8ceae91e9f031232d225a7159cca36e9eefdf85
treeb384b952bd82b41ce3296637d6a42870fc7f7b5b
parent793a349cd8192ad67c784d231011591a57eac001
samples/bpf: Provide C/LDFLAGS to libbpf

In order to build lib using C/LD flags of target arch, provide them
to libbpf make.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191011002808.28206-14-ivan.khoronzhuk@linaro.org
samples/bpf/Makefile