Re: [PATCH v3 bpf-next 04/14] samples: bpf: use own EXTRA_CFLAGS for clang commands

2019-09-16 Thread Ivan Khoronzhuk
On Mon, Sep 16, 2019 at 01:35:21PM -0700, Andrii Nakryiko wrote: On Mon, Sep 16, 2019 at 4:01 AM Ivan Khoronzhuk wrote: It can overlap with CFLAGS used for libraries built with gcc if not now then in next patches. Correct it here for simplicity. Signed-off-by: Ivan Khoronzhuk --- With GCC

Re: [PATCH v3 bpf-next 04/14] samples: bpf: use own EXTRA_CFLAGS for clang commands

2019-09-16 Thread Andrii Nakryiko
On Mon, Sep 16, 2019 at 4:01 AM Ivan Khoronzhuk wrote: > > It can overlap with CFLAGS used for libraries built with gcc if > not now then in next patches. Correct it here for simplicity. > > Signed-off-by: Ivan Khoronzhuk > --- With GCC BPF front-end recently added, we should probably generalize

[PATCH v3 bpf-next 04/14] samples: bpf: use own EXTRA_CFLAGS for clang commands

2019-09-16 Thread Ivan Khoronzhuk
It can overlap with CFLAGS used for libraries built with gcc if not now then in next patches. Correct it here for simplicity. Signed-off-by: Ivan Khoronzhuk --- samples/bpf/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/bpf/Makefile b/samples/bpf/Mak