Re: [PATCH v4 bpf-next 11/15] libbpf: don't use cxx to test_libpf target

From: Andrii Nakryiko
Date: Wed Oct 09 2019 - 20:26:51 EST

On Wed, Oct 9, 2019 at 1:43 PM Ivan Khoronzhuk
<ivan.khoronzhuk@xxxxxxxxxx> wrote:
> No need to use C++ for test_libbpf target when libbpf is on C and it
> can be tested with C, after this change the CXXFLAGS in makefiles can
> be avoided, at least in bpf samples, when sysroot is used, passing
> same C/LDFLAGS as for lib.
> Add "return 0" in test_libbpf to void warn, but also remove spaces at
> start of the lines to keep same style and avoid warns while apply.
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@xxxxxxxxxx>
> ---

Thanks for the clean up!

Acked-by: Andrii Nakryiko <andriin@xxxxxx>