On 1/22/20 11:13 AM, Petr Vorel wrote: > Hi Steve, > >>>> Currently locktest can be built only for host because CC_FOR_BUILD is >>>> specified as CC, but this leads to build failure when passing CFLAGS not >>>> available on host gcc(i.e. -mlongcalls) and most of all locktest would >>>> be available on target systems the same way as rpcgen etc. So remove CC >>>> and LIBTOOL assignments. > >>>> Signed-off-by: Giulio Benetti <giulio.benetti@xxxxxxxxxxxxxxxxxxxxxx> >>> Reviewed-by: Petr Vorel <petr.vorel@xxxxxxxxx> >>> Tested-by: Petr Vorel <petr.vorel@xxxxxxxxx> >>> NOTE: as I understand it's a compilation issue of a tool, so I didn't run >>> rpcgen, I just test various compilation variants for buildroot. >> Just to be clear... Giulio's patch, removing CC and LIBTOOL from the >> locktest/Makefile.am does allows your cross build to succeed, correct? > Yes, for buildroot it's ok. I'm just not able to verify Gentoo. Thanks... Lets cross that path when get there... steved. > >> steved. > > Kind regards, > Petr >