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> --- 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) -- 2.20.1