On 1/15/20 11:08 AM, Giulio Benetti wrote: > 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> Committed... (tag: nfs-utils-2-4-3-rc6) steved. > --- > tools/locktest/Makefile.am | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/tools/locktest/Makefile.am b/tools/locktest/Makefile.am > index 3156815d..e8914655 100644 > --- a/tools/locktest/Makefile.am > +++ b/tools/locktest/Makefile.am > @@ -1,8 +1,5 @@ > ## Process this file with automake to produce Makefile.in > > -CC=$(CC_FOR_BUILD) > -LIBTOOL = @LIBTOOL@ --tag=CC > - > noinst_PROGRAMS = testlk > testlk_SOURCES = testlk.c > testlk_CFLAGS=$(CFLAGS_FOR_BUILD) >