Re: [PATCH 01/14] tools build: Support compiling C++ source file

2016-09-28 Thread Jiri Olsa
On Fri, Sep 23, 2016 at 12:49:48PM +, Wang Nan wrote: > Add new rule to compile .cpp file to .o use g++. C++ support is > required for built-in clang and LLVM support. > > Linker side support will be introduced by following commits. > > Signed-off-by: Wang Nan > Cc: Arnaldo Carvalho de Melo

[PATCH 01/14] tools build: Support compiling C++ source file

2016-09-23 Thread Wang Nan
Add new rule to compile .cpp file to .o use g++. C++ support is required for built-in clang and LLVM support. Linker side support will be introduced by following commits. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Alexei Starovoitov Cc: He Kuang Cc: Jiri Olsa --- tools/build/B