Re: [PATCH] Add -target to clang switch while cross compiling.

From: Abhijit Ayarekar
Date: Fri Oct 13 2017 - 18:12:59 EST


On Fri, Oct 13, 2017 at 03:10:38PM -0700, Alexei Starovoitov wrote:
> On Fri, Oct 13, 2017 at 12:24:06PM -0700, Abhijit Ayarekar wrote:
> > Update to llvm excludes assembly instructions.
> > llvm git revision is below
> >
> > commit 65fad7c26569 ("bpf: add inline-asm support")
> >
> > This change will be part of llvm release 6.0
> >
> > __ASM_SYSREG_H define is not required for native compile.
> > -target switch includes appropriate target specific files
> > while cross compiling
> >
> > Tested on x86 and arm64.
> >
> > Signed-off-by: Abhijit Ayarekar <abhijit.ayarekar@xxxxxxxxxxxxxxxxxx>
>
> Thanks
> Acked-by: Alexei Starovoitov <ast@xxxxxxxxxx>
>
Glad i could help :)